[PATCH] s4-ntvfs: check if pvfs is NULL in pvfs_logoff

brendan powers brendan0powers at gmail.com
Wed Dec 16 17:01:32 MST 2009


Hello,

I ran into a problem where if I shared a directory that did not exist,
samba would segfault. This was caused by pvfs_logoff not checking if
the pvfs pointer was valid. I assume this was caused by the directory
not existing, so no log on actually occurred.

The patch is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-ntvfs-check-if-pvfs-is-NULL-in-pvfs_logoff.patch
Type: text/x-diff
Size: 1050 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091216/2830a219/attachment.patch>


More information about the samba-technical mailing list