diff options
author | Dan McDonald <danmcd@joyent.com> | 2019-07-30 15:04:21 -0400 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2019-07-30 15:05:21 -0400 |
commit | 06435337d318262e4e31a9efe4e40f5026d3e26b (patch) | |
tree | a2d7f1dfed53573c4a9364ded8310f64b3f731b8 | |
parent | e21c734b6349feebc8c570483066f720d79022b0 (diff) | |
download | illumos-joyent-06435337d318262e4e31a9efe4e40f5026d3e26b.tar.gz |
Backout: 11430 smbsrv: NULL pointer errors (Did not have RTI approval.)
-rw-r--r-- | usr/src/cmd/smbsrv/smbd/smbd_doorsvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/smbsrv/smbd/smbd_doorsvc.c b/usr/src/cmd/smbsrv/smbd/smbd_doorsvc.c index e13f271e51..ce606b7b97 100644 --- a/usr/src/cmd/smbsrv/smbd/smbd_doorsvc.c +++ b/usr/src/cmd/smbsrv/smbd/smbd_doorsvc.c @@ -802,7 +802,7 @@ smbd_dop_vss_map_gmttoken(smbd_arg_t *arg) if ((snapname = malloc(MAXPATHLEN)) == NULL) { xdr_free(smb_gmttoken_snapname_xdr, (char *)&request); - return (SMB_DOP_ENCODE_ERROR); + return (NULL); } if ((smbd_vss_map_gmttoken(request.gts_path, request.gts_gmttoken, |