The Samba-Bugzilla – Bug 1206
[PATCH] netatalk vfs causes segfaults in samba
Last modified: 2010-03-11 02:57:57 UTC
The netatalk vfs tries to add '.AppleDouble' to the hide_list for the current
connection, however it fails to add an empty entry at the end of the list.
This causes a segfault in 'is_in_path' (lib/util.c) when it tries to match a
filename against the hide list.
Created attachment 449 [details]
A patch to the function adding '.AppleDouble' to the hide list
This patch fixes the netatalk vfs to properly terminate the hide_list with a
null entry after adding the '.AppleDouble' name to it.
Created attachment 5480 [details]
Patch for v3-5-test branch
This bug is reproduceable with Samba 3.2.15 and 3.5.1.
I've created a patch for Samba 3.5.1.
Perfectly correct - thanks ! Will ensure this gets into all active branches.
Karolin the patch applies cleanly to both 3.5.2 and 3.4.x.
Created attachment 5486 [details]
git am patch for 3.3.x
Patch for 3.3.x.
Pushed patch to v3-5-test and v3-4-test (3.3 is in the security fixes only mode).
Closing out bug report.
Thanks a lot for providing the patch!