mirror of https://git.musl-libc.org/git/musl
Browse Source
when a library being loaded has bss (i.e. data segment with p_memsz>p_filesz), this region needs to be zeroed with a combination of memset and/or mmap. the regular ELF loader always did this but the FDPIC code path omitted it, leading to objects in bss having uninitialized/junk contents.master
1 changed files with 13 additions and 0 deletions
Loading…
Reference in new issue