jhb 2008-09-30 15:49:59 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern kern_linker.c
Log:
SVN rev 183500 on 2008-09-30 15:49:59Z by jhb
Sync with head: When copying out the kld_stat structure to userland, only
copy out the size of the user's buffer. In the case of a program using
the older (smaller) structure, the previous code would trash memory after
the end of the user's kld_stat struct. This was missed in the DTrace
MFC.
Submitted by: Jaakko Heinonen jh saunalahti.fi
Approved by: re (kib)
Revision Changes Path
1.149.2.4 +1 -1 src/sys/kern/kern_linker.c