projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a96a37
)
ensure that buffer for decoding auxv at startup is initially zero
author
Rich Felker
<dalias@aerifal.cx>
Mon, 8 Oct 2012 15:20:31 +0000
(11:20 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 8 Oct 2012 15:20:31 +0000
(11:20 -0400)
src/env/__libc_start_main.c
patch
|
blob
|
history
diff --git
a/src/env/__libc_start_main.c
b/src/env/__libc_start_main.c
index 07613a522b01cba6609295b59fe30835d4be17dd..e350fdb83364daf76dbc88096b5215042ba2b46c 100644
(file)
--- a/
src/env/__libc_start_main.c
+++ b/
src/env/__libc_start_main.c
@@
-8,7
+8,7
@@
void __init_security(size_t *);
void __init_libc(char **envp)
{
- size_t i, *auxv, aux[AUX_CNT];
+ size_t i, *auxv, aux[AUX_CNT]
= { 0 }
;
__environ = envp;
for (i=0; envp[i]; i++);
libc.auxv = auxv = (void *)(envp+i+1);