[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)
committerAdrian Bunk <bunk@debian.org>
Tue, 23 Apr 2024 16:23:00 +0000 (19:23 +0300)
commit495343dbfd2ee252a57a89d9438afb54ea4a3c6e
treed5fd157baa0102bac17ac5a9723821a9a4207ab2
parent306413ff14a0c105436fbe80834d22510d142503
[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