[PATCH] Ensure default SMB_VFS_GETWD() call can't return a partially completed struct smb_filename.
jra at samba.org
Tue Oct 3 00:43:48 UTC 2017
When I converted SMB_VFS_GETWD() to return a struct smb_filename *
I messed up and allowed it to return a partially constructed
struct if the underlying sys_getwd() returned NULL (i.e. I didn't immediately
return NULL if sys_getwd() failed).
Found whilst investigating a different bug, but this is a pretty
obvious fix. Only affects 4.7 as that contains the struct smb_filename *
Please review and push for master if happy !
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: not available
More information about the samba-technical