diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-10-03 10:16:01 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-10-03 10:16:01 -0400 |
commit | 2b2aff37aced66e4a50a38a14607a9b1dc0ee001 (patch) | |
tree | b8473d323d03458372a1bada847a060ff5a20b0b /src/stdio/fseek.c | |
parent | 23b8e3bc95620b0bd90a78ce0d926942c12b45da (diff) | |
download | musl-2b2aff37aced66e4a50a38a14607a9b1dc0ee001.tar.gz |
fix new environment always being null with execle
the va_arg call for the argv[]-terminating null pointer was missing,
so this pointer was being wrongly used as the environment pointer.
issue reported by Timo Teräs. proposed patch slightly modified to
simplify the resulting code.
Diffstat (limited to 'src/stdio/fseek.c')
0 files changed, 0 insertions, 0 deletions