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.