[389-devel] Please review: [Bug 629710] escape_string does not check '\<HEX><HEX>'

Noriko Hosoi nhosoi at redhat.com
Thu Sep 2 21:15:53 UTC 2010



https://bugzilla.redhat.com/show_bug.cgi?id=629710

https://bugzilla.redhat.com/attachment.cgi?id=442728&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=442728&action=edit

Description: do_escape_string (core of escape_string) converts
'\\ (backslash)' to '\5C' even if the following 2 characters are
hex digits.  That is, the character is already escaped.  This
patch checks the case and if it is, it does not escape it further.

File: ldap/servers/slapd/util.c

Thanks,
--noriko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6646 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20100902/020dff36/attachment.bin 


More information about the 389-devel mailing list