]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix unsafe use of dirent::d_name [PR107814]
authorJonathan Wakely <jwakely@redhat.com>
Tue, 22 Nov 2022 19:15:53 +0000 (19:15 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 21 Dec 2022 11:34:25 +0000 (11:34 +0000)
commit52daccd82cd71bd065826784ebb6eb04fa9b42af
treec547630ac8b7c7735d76198bfeb0ab2b3337375f
parent35ad6ec3bb6ea6ef369c2d851b52e156420046a4
libstdc++: Fix unsafe use of dirent::d_name [PR107814]

Copy the fix for PR 104731 to the equivalent experimental::filesystem
test.

libstdc++-v3/ChangeLog:

PR libstdc++/107814
* testsuite/experimental/filesystem/iterators/error_reporting.cc:
Use a static buffer with space after it.

(cherry picked from commit 1cac00d013856fea4cee0f13c4959c8e21afd2d9)
libstdc++-v3/testsuite/experimental/filesystem/iterators/error_reporting.cc