diff options
author | bde <bde@FreeBSD.org> | 1994-12-12 01:15:01 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-12-12 01:15:01 +0000 |
commit | 85651f85dafb2ae149a7f6acb6589318c8639e00 (patch) | |
tree | e96f69c1b39623a3b0b7378c4a340b5ecd7604c7 /lib/libc/string/memccpy.c | |
parent | a7b72cfd8402f77ec8d1bfc7e289048ef3e5b191 (diff) | |
download | FreeBSD-src-85651f85dafb2ae149a7f6acb6589318c8639e00.zip FreeBSD-src-85651f85dafb2ae149a7f6acb6589318c8639e00.tar.gz |
Fix execl[e]. Multiple execle's failed because of bogus caching of the
pointer returned by realloc(). All callers free the pointer if the
execve fails. Nuke the caching. This essentially restores buildargv()
to the 1.1.5 version. Also fix a memory leak if realloc() fails. Also
nuke similar but non-broken caching in execvp(). malloc() should be
efficient enough.
Diffstat (limited to 'lib/libc/string/memccpy.c')
0 files changed, 0 insertions, 0 deletions