commit | 7443dd271c09e8209a9478388fcd64a633b485e7 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Fri Aug 02 09:25:12 2013 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Aug 02 09:25:12 2013 -0400 |
tree | 3a2601286557d6630a83f8db471bde1e4b0b4d52 | |
parent | 38f44d692310dd669ad9ee13a2993c91e81d2721 [diff] [blame] |
fix uninitialized dyn variable in map_library this can only happen for invalid library files, but they were not detected reliably because the variable was uninitialized.
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 2f399a5..63a2554 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c
@@ -313,7 +313,7 @@ Phdr *ph, *ph0; unsigned prot; unsigned char *map, *base; - size_t dyn; + size_t dyn=0; size_t tls_image=0; size_t i;