Skip to content
Commit 263e6175 authored by Andreas Schwab's avatar Andreas Schwab Committed by Tulio Magno Quites Machado Filho
Browse files

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 ddc650e9 with
 changes from commit d711a00f)
parent 37db4539
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment