Skip to content
Commit d64ad0a5 authored by Andreas Schwab's avatar Andreas Schwab Committed by Dmitry V. Levin
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)
(cherry picked from commit 39a05214)
parent 34ce8763
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