]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix use-after-free in glob when expanding ~user (bug 25414)
authorAndreas Schwab <schwab@suse.de>
Wed, 19 Feb 2020 16:21:46 +0000 (17:21 +0100)
committerFangrui Song <i@maskray.me>
Sat, 28 Aug 2021 00:26:07 +0000 (17:26 -0700)
commit2887b50077caf7479fabe49195c4419963643823
tree625a175a48d32d13646a76ea801861a406a4c5c2
parent6db4535a70acdbf258b52bd6c79ce56e226b4015
Fix use-after-free in glob when expanding ~user (bug 25414)

The value of `end_name' points into the value of `dirname', thus don't
deallocate the latter before the last use of the former.
posix/glob.c