summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2000-07-23 16:54:18 +0000
committermarcel <marcel@FreeBSD.org>2000-07-23 16:54:18 +0000
commita069944f46211cf481f1414ec35e8e264169f6f2 (patch)
tree49112d177fe8ca7bbe4a30d621fca616e31f7195 /Makefile.inc1
parent232803be5c159e6ffdab510c966bf2f5c001a490 (diff)
downloadFreeBSD-src-a069944f46211cf481f1414ec35e8e264169f6f2.zip
FreeBSD-src-a069944f46211cf481f1414ec35e8e264169f6f2.tar.gz
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
Diffstat (limited to 'Makefile.inc1')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud