[PATCH] Fix the UB in regex caused by long decimal string

Tim Shen via libstdc++ libstdc++@gcc.gnu.org
Sat Feb 11 01:19:00 GMT 2017


LibFuzzer found a signed integer overflow UB in the regex library!

Here is the fix. Bootstrapped and tested on x86_64-linux-gnu.


Thanks!

-- 
Regards,
Tim Shen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.diff
Type: text/x-patch
Size: 1831 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20170211/498c8519/attachment.bin>


More information about the Libstdc++ mailing list