diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-02-27 20:43:52 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-02-27 20:43:52 +0000 |
commit | 63fd51fe66b651a65505f491ecd0155d5ae5b225 (patch) | |
tree | 2939c19c3206414acdfa2810947a379815d2ba04 /usr.sbin/sysinstall/cdrom.c | |
parent | cf1a19f6567a1313d078f738d40d99c4851cf854 (diff) | |
download | FreeBSD-src-63fd51fe66b651a65505f491ecd0155d5ae5b225.zip FreeBSD-src-63fd51fe66b651a65505f491ecd0155d5ae5b225.tar.gz |
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
Diffstat (limited to 'usr.sbin/sysinstall/cdrom.c')
0 files changed, 0 insertions, 0 deletions