]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdlib: Improve tst-realpath compatibility with source fortification
authorFlorian Weimer <fweimer@redhat.com>
Tue, 1 Aug 2023 08:27:15 +0000 (10:27 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 1 Aug 2023 08:27:15 +0000 (10:27 +0200)
commit510fc20d73de12c85823d9996faac74666e9c2e7
treeea61c874896b2db12e7d128d48ccd9a62506aa76
parent78ca34d8c55eee6b0664f9c1d30fcca71077b843
stdlib: Improve tst-realpath compatibility with source fortification

On GCC before 11, IPA can make the fortified realpath aware that the
buffer size is not large enough (8 bytes instead of PATH_MAX bytes).
Fix this by using a buffer that is large enough.
stdlib/tst-realpath.c