Searched hist:63778 (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.2-release/sys/compat/linux/
H A Dlinux_util.hdiff 63778 Sun Jul 23 16:54:18 MDT 2000 marcel Add bounds checking to stackgap_alloc. Previously it was possible
to construct a path that was long enough (ie longer than
SPARE_USRSPACE bytes) and trash the stack.

Note that SPARE_USRSPACE is much smaller than MAXPATHLEN so that
the Linuxulator will now return ENAMETOOLONG even if the path
is smaller than MAXPATHLEN.

PR: 12749
H A Dlinux_util.cdiff 63778 Sun Jul 23 16:54:18 MDT 2000 marcel Add bounds checking to stackgap_alloc. Previously it was possible
to construct a path that was long enough (ie longer than
SPARE_USRSPACE bytes) and trash the stack.

Note that SPARE_USRSPACE is much smaller than MAXPATHLEN so that
the Linuxulator will now return ENAMETOOLONG even if the path
is smaller than MAXPATHLEN.

PR: 12749
H A Dlinux_misc.cdiff 63778 Sun Jul 23 16:54:18 MDT 2000 marcel Add bounds checking to stackgap_alloc. Previously it was possible
to construct a path that was long enough (ie longer than
SPARE_USRSPACE bytes) and trash the stack.

Note that SPARE_USRSPACE is much smaller than MAXPATHLEN so that
the Linuxulator will now return ENAMETOOLONG even if the path
is smaller than MAXPATHLEN.

PR: 12749

Completed in 185 milliseconds