freebsd-dev/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 Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
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 Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
powerpc Remove these unused files before any other archs include the same bogus 2004-11-12 18:05:30 +00:00
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 Add initial support for compiling a special 32 bit version of 2004-03-21 01:21:26 +00:00
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 Very minor style nit: sort include files alphabetically. 2003-08-22 02:22:59 +00:00
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 Add support for Thread Local Storage. 2004-08-03 08:51:00 +00:00
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