diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-09-22 20:02:58 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-09-22 20:02:58 +0100 |
commit | 49ff88bd0d8a36a9e903f01ce05685cfe07dee5d (patch) | |
tree | cb98506a941642825651753585aa5e5b41065cab /libgo | |
parent | 809192e77e6e112a0fe32dee7fada7a49fbf25cd (diff) | |
download | gcc-49ff88bd0d8a36a9e903f01ce05685cfe07dee5d.zip gcc-49ff88bd0d8a36a9e903f01ce05685cfe07dee5d.tar.gz gcc-49ff88bd0d8a36a9e903f01ce05685cfe07dee5d.tar.bz2 |
libstdc++: Fix out-of-bounds string_view access in filesystem::path [PR 97167]
libstdc++-v3/ChangeLog:
PR libstdc++/97167
* src/c++17/fs_path.cc (path::_Parser::root_path()): Check
for empty string before inspecting the first character.
* testsuite/27_io/filesystem/path/append/source.cc: Append
empty string_view to path.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions