Date: Thu, 27 Feb 2003 12:43:52 -0800 (PST) From: Maxim Sobolev <sobomax@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall index.c Message-ID: <200302272043.h1RKhq9f048530@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2003/02/27 12:43:52 PST
Modified files:
usr.sbin/sysinstall index.c
Log:
Increase size of the static buffer used to hold runtime dependency list
read from CD from 2k to 16k, because in the modern world of meta-packages
(Gnome et al) the length of this list could easily owerflow limit causing
strange things to happen, ranging from installation failure due to list
truncation to complete stack trashing (there is very vague bounds checking).
For example, x11/gnome2-fifth-toe runtime dependencies list is 2,418 bytes
long.
Due to obvious reasons, this is an immediate MFC candidate.
Sponsored by: Porta Software Ltd
MFC after: 1 day
Revision Changes Path
1.100 +4 -4 src/usr.sbin/sysinstall/index.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302272043.h1RKhq9f048530>
