[PATCH] 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)
committerHelmut Grohne <helmut@subdivi.de>
Sat, 8 Oct 2022 15:53:16 +0000 (16:53 +0100)
commite4290cee4450141451679eff0f21168d0ba1e938
tree312a286d61151de5b35f835002e29603210c85fd
parentea37e1a2406663f3fa657ddad338e7ef6b4ffc38
[PATCH] 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.

Gbp-Pq: Topic all
Gbp-Pq: Name git-CVE-2020-1752-Fix-use-after-free-in-glob-when-expanding-user-bug-2.diff
posix/glob.c