1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/libexec/rtld-elf
John Baldwin 4d5fe96d68 Fix a bug in dlinfo(RTLD_DI_SERINFOSIZE) requests. For each search path
we included the length of the path in the returned size but not the length
of the associated Dl_serpath structure.  Without this fix, programs
attempting to allocate a structure to hold the search path information
would allocate too small of a buffer and rtld would overrun the buffer
while filling it via a subsequent RTLD_DI_SERINFO request.

Submitted by:	"William K. Josephson" wkj at morphisms dot net
Reviewed by:	jdp
MFC after:	2 weeks
2005-11-11 19:57:41 +00:00
..
alpha Fix the load64 and store64 macros, created to handle 8-byte unaligned 2005-06-02 05:34:08 +00:00
amd64
arm No need to provide atomic_cmpset_32() anymore. 2005-04-07 22:04:49 +00:00
i386 Clean out the leftovers from the i386_set_gsbase() TLS conversion. 2005-06-29 23:15:36 +00:00
ia64
powerpc
sparc64 MFNetBSD: src/libexec/ld.elf_so/arch/sparc64/mdreloc.c 1.26 (partial) 2005-06-04 20:49:15 +00:00
debug.c
debug.h
libmap.c Description from Dan: 2005-02-04 02:46:41 +00:00
libmap.h Description from Dan: 2005-02-04 02:46:41 +00:00
Makefile So do it like we do in usr.bin/tip/tip/Makefile. ;) 2004-11-14 22:18:31 +00:00
malloc.c
map_object.c Attempt to free any static TLS space used by a shared library when it 2005-02-27 12:55:40 +00:00
rtld_lock.c Remove 80386 support from the ELF run time linker. 2004-11-16 20:45:51 +00:00
rtld_lock.h
rtld_tls.h
rtld.1 Removed trailing whitespace. 2005-06-14 08:41:11 +00:00
rtld.c Fix a bug in dlinfo(RTLD_DI_SERINFOSIZE) requests. For each search path 2005-11-11 19:57:41 +00:00
rtld.h Attempt to free any static TLS space used by a shared library when it 2005-02-27 12:55:40 +00:00
xmalloc.c