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 |
||
|---|---|---|
| .. | ||
| alpha | ||
| amd64 | ||
| arm | ||
| i386 | ||
| ia64 | ||
| powerpc | ||
| sparc64 | ||
| debug.c | ||
| debug.h | ||
| libmap.c | ||
| libmap.h | ||
| Makefile | ||
| malloc.c | ||
| map_object.c | ||
| rtld.1 | ||
| rtld.c | ||
| rtld.h | ||
| rtld_lock.c | ||
| rtld_lock.h | ||
| rtld_tls.h | ||
| xmalloc.c | ||