From owner-cvs-src Thu Feb 27 12:43:54 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEC9C37B401; Thu, 27 Feb 2003 12:43:52 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85E5C43FBD; Thu, 27 Feb 2003 12:43:52 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1RKhq0U048531; Thu, 27 Feb 2003 12:43:52 -0800 (PST) (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1RKhq9f048530; Thu, 27 Feb 2003 12:43:52 -0800 (PST) Message-Id: <200302272043.h1RKhq9f048530@repoman.freebsd.org> From: Maxim Sobolev Date: Thu, 27 Feb 2003 12:43:52 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall index.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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