From owner-freebsd-commit Sun Feb 18 18:36:22 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA21153 for freebsd-commit-outgoing; Sun, 18 Feb 1996 18:36:22 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA21146 for cvs-all-outgoing; Sun, 18 Feb 1996 18:36:14 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA21020 Sun, 18 Feb 1996 18:35:58 -0800 (PST) Date: Sun, 18 Feb 1996 18:35:58 -0800 (PST) From: Mike Pritchard Message-Id: <199602190235.SAA21020@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_install/lib file.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk mpp 96/02/18 18:35:57 Modified: usr.sbin/pkg_install/lib file.c Log: Initialize the argument list in the unpack() routine to zero. This prevents a core dump due to the stack being trashed if pkg_add is asked to process something that really isn't a package file. Revision Changes Path 1.20 +2 -1 src/usr.sbin/pkg_install/lib/file.c