[Bug libstdc++/107814] [10/11/12 regression] experimental/filesystem/iterators/error_reporting.cc FAILs

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 21 11:37:01 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107814

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:52daccd82cd71bd065826784ebb6eb04fa9b42af

commit r12-9005-g52daccd82cd71bd065826784ebb6eb04fa9b42af
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Nov 22 19:15:53 2022 +0000

    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)


More information about the Gcc-bugs mailing list