[Bug libstdc++/21209] New: signed integer overflow in num_get<>::_M_extract_int

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Mon Apr 25 09:47:00 GMT 2005


__new_result definitely overflows, and this is *bad* (at least in principle ;)
when it's signed. I have a patch in testing which has small (probably bearable)
performance implications.

-- 
           Summary: signed integer overflow in num_get<>::_M_extract_int
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: pcarlini at suse dot de
        ReportedBy: pcarlini at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21209



More information about the Gcc-bugs mailing list