[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>
Sat, 29 Jun 2024 10:27:34 +0000 (13:27 +0300)
commitb83c26d29f4736eaeaf57707edbc84728aba55bc
tree41328c5f44f3b2a9487ce69fe8df12c2961922f5
parent9a8611cf0f0ed992f7d9471c1bffd6684afebc41
[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