[PATCH] Fix bug 10716 - smbd constantly crashes when filename contains non-ascii character.

Jeremy Allison jra at samba.org
Mon Aug 4 12:20:38 MDT 2014

Turns out that strcasecmp_m_handle()
and strncasecmp_m_handle() don't
handle conversion errors very well.

They skip over the non-converting
characters, which means they can
return a false match fore filenames
where the non-converting character
sequences occur at the end of the

Fix confirmed by submitter.

Please review and push if happy !


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-10716-master.patch
Type: text/x-diff
Size: 4949 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140804/f8a1c9c6/attachment.patch>

More information about the samba-technical mailing list