Fix for PR 17148

Marshall Clow mclow.lists at
Wed Oct 30 09:47:25 PDT 2013

Fix an edge case where the size would overflow, giving a much smaller buffer than expected.
Add a test, too.

-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug17148.patch
Type: application/octet-stream
Size: 995 bytes
Desc: not available
URL: <>

More information about the cfe-commits mailing list