mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
(execvp): Fix invalid free.
This commit is contained in:
parent
8b3d4e0b04
commit
79164473b2
@ -189,7 +189,7 @@ execvp (file, argv)
|
||||
__set_errno (EACCES);
|
||||
|
||||
free (script_argv);
|
||||
free (name);
|
||||
free (name - pathlen);
|
||||
if (path_malloc)
|
||||
free (path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user