diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-02-22 15:36:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-02-22 15:36:13 +0000 |
commit | 79164473b2c98cd5f8498797e69a09817d70b115 (patch) | |
tree | 1175c88a491fb66a67d1d9fc87e01e0dbc187603 /posix/execvp.c | |
parent | 8b3d4e0b045cdd07bbd7f308530caac00b2a90a1 (diff) | |
download | glibc-79164473b2c98cd5f8498797e69a09817d70b115.tar.gz glibc-79164473b2c98cd5f8498797e69a09817d70b115.tar.xz glibc-79164473b2c98cd5f8498797e69a09817d70b115.zip |
(execvp): Fix invalid free.
Diffstat (limited to 'posix/execvp.c')
-rw-r--r-- | posix/execvp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/execvp.c b/posix/execvp.c index 9ccfd7fc22..0abfa7007c 100644 --- a/posix/execvp.c +++ b/posix/execvp.c @@ -189,7 +189,7 @@ execvp (file, argv) __set_errno (EACCES); free (script_argv); - free (name); + free (name - pathlen); if (path_malloc) free (path); } |