summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-07-29 19:56:07 +0300
committerToomas Soome <tsoome@me.com>2019-07-30 22:21:07 +0300
commit0ddec5a427aa889528aeed17fc3a8e7e26579f1d (patch)
treea9a2c62c56d879a010fde85bb202713a1a30792f
parent06435337d318262e4e31a9efe4e40f5026d3e26b (diff)
downloadillumos-joyent-0ddec5a427aa889528aeed17fc3a8e7e26579f1d.tar.gz
11454 smbclnt: NULL pointer errors
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Gordon Ross <gwr@nexenta.com>
-rw-r--r--usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb1.c b/usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb1.c
index 6c00816133..89e75505d6 100644
--- a/usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb1.c
+++ b/usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb1.c
@@ -780,7 +780,7 @@ smbfs_smb1_get_streaminfo(smbnode_t *np, struct mdchain *mdp,
(void) mb_init(mbp);
(void) mb_put_uint16le(mbp, SMB_QFILEINFO_STREAM_INFO);
(void) mb_put_uint32le(mbp, 0);
- error = smbfs_fullpath(mbp, vcp, np, NULL, NULL, 0);
+ error = smbfs_fullpath(mbp, vcp, np, NULL, 0, 0);
if (error)
goto out;