From owner-cvs-all@FreeBSD.ORG Thu Mar 27 12:44:10 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8899637B401; Thu, 27 Mar 2003 12:44:10 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2422743FBD; Thu, 27 Mar 2003 12:44:10 -0800 (PST) (envelope-from rwatson@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 h2RKi90U097237; Thu, 27 Mar 2003 12:44:09 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2RKi9Kd097236; Thu, 27 Mar 2003 12:44:09 -0800 (PST) Message-Id: <200303272044.h2RKi9Kd097236@repoman.freebsd.org> From: Robert Watson Date: Thu, 27 Mar 2003 12:44:09 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD X-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: cvs commit: src/usr.sbin/pkg_install/lib url.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 20:44:12 -0000 rwatson 2003/03/27 12:44:09 PST FreeBSD src repository Modified files: usr.sbin/pkg_install/lib url.c Log: Don't pass NULL in as a flags argument to libfetch's fetchGetURL() as this can result in a NULL pointer deference when parsing the flags later. This change fixes "pkg_add -r" on 5.0-CURRENT for me; not quite clear how the problem was introduced. Revision Changes Path 1.2 +1 -1 src/usr.sbin/pkg_install/lib/url.c