Date: Sun, 23 Jul 2000 09:54:19 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux linux_misc.c linux_util.c linux_util.h Message-ID: <200007231654.JAA35253@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2000/07/23 09:54:19 PDT Modified files: sys/i386/linux linux_misc.c linux_util.c linux_util.h Log: 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 Revision Changes Path 1.82 +3 -1 src/sys/i386/linux/linux_misc.c 1.11 +5 -2 src/sys/i386/linux/linux_util.c 1.11 +9 -11 src/sys/i386/linux/linux_util.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007231654.JAA35253>