[PATCH][libcxx] Prevent '\b' from backing up into invalid memory (case 2)

William Fisher william.w.fisher at gmail.com
Wed Jul 10 11:31:14 PDT 2013


This patch fixes a less likely case where '\b' can back up into invalid
memory, when driven by a regex_iterator (for case 1, see r185273 or
http://llvm.org/bugs/show_bug.cgi?id=16240)

The attached test program also supplies a test for the case 1 fix in
r185273.

Thanks,
-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130710/28f8bf0e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regex_search.pass.cpp
Type: text/x-c++src
Size: 1173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130710/28f8bf0e/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regex_search.patch
Type: application/octet-stream
Size: 843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130710/28f8bf0e/attachment.obj>


More information about the cfe-commits mailing list