[PATCH] Fix Gluster bug - unable to create file/directory under root of the share due to empty dirpath during get_real_filename()

Jeremy Allison jra at samba.org
Tue Aug 21 19:52:24 UTC 2018

As confirmed by Anoop, this is a much simpler
and direct patch that adds the protection already
in get_real_filename_full_scan() to get_real_filename().

Fixes an error when used with Glusterfs.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13585

Please review and push if happy !


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-smbd-Ensure-get_real_filename-copes-with-empty-pa.patch
Type: text/x-diff
Size: 986 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180821/6f388d87/0001-s3-smbd-Ensure-get_real_filename-copes-with-empty-pa.diff>

More information about the samba-technical mailing list