]> 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)
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Fri, 20 Mar 2020 18:23:11 +0000 (15:23 -0300)
commit21344a3d62a29406fddeec069ee4eb3c341369f9
treebffa7bd9e01b3038205e147e7c0eeb7f7a8ef766
parent0478174d1e2c2a894a35b1cdffc573dca310b438
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.

(cherry picked from commit ddc650e9b3dc916eab417ce9f79e67337b05035c)
NEWS
posix/glob.c