[Bug libstdc++/59531] New: string_view overrun in copy operation

bigotp at acm dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 16 19:36:00 GMT 2013


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

            Bug ID: 59531
           Summary: string_view overrun in copy operation
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bigotp at acm dot org

Created attachment 31450
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31450&action=edit
Patch and test case

The terminating value for the string_view copy operation is wrong, resulting in
buffer overruns.



More information about the Gcc-bugs mailing list