HomeFreeBSD

Bounds check the user-supplied length used in a copyout() in

Description

Bounds check the user-supplied length used in a copyout() in
svr4_do_getmsg(). In principle this bug could disclose data from
kernel memory, but in practice, the SVR4 emulation layer is probably
not functional enough to cause the relevant code path to be executed.
In any case, the emulator has been disconnected from the build since
5.0-RELEASE.

Found by: Coverity Prevent analysis tool

Details

Provenance
David Schultz <das@FreeBSD.org>Authored on Mar 23 2005, 8:28 AM
Parents
rG8a4d2b06c70b: Bounds check the length parameter to i386_set_ldt() before passing it
Branches
Unknown
Tags
Unknown

Event Timeline