freebsd-nq/libexec
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
..
atrun
bootpd
comsat
fingerd
ftp-proxy
ftpd
getty
lukemftpd
mail.local
makekey
mknetid
pppoed
pt_chown
rbootd
revnetgroup
rlogind
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rshd
rtld-aout
rtld-elf
save-entropy
smrsh
talkd
tcpd
telnetd
tftpd
ypxfr
Makefile
Makefile.inc