From owner-freebsd-current Sun Apr 7 21:08:41 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA27578 for current-outgoing; Sun, 7 Apr 1996 21:08:41 -0700 (PDT) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id VAA27556 for ; Sun, 7 Apr 1996 21:08:35 -0700 (PDT) Received: from localhost.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.7.5/8.7.3) with SMTP id AAA04024 for ; Mon, 8 Apr 1996 00:08:34 -0400 (EDT) Message-Id: <199604080408.AAA04024@whizzo.transsys.com> X-Authentication-Warning: whizzo.transsys.com: Host localhost.transsys.com [127.0.0.1] didn't use HELO protocol To: current@freebsd.org From: "Louis A. Mamakos" Subject: usr.bin/xinstall derefs null pointer Date: Mon, 08 Apr 1996 00:08:33 -0400 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk FYI, If you invoke the new and improved install(1) with the ALLOW_NUMERIC_IDS feature, and don't specify an owner or group, it dereferences a null pointer. The calls to resolve_uid() and resolve_gid() need to be protected. This seems to have gone in recently in: ---------------------------- revision 1.6 date: 1996/04/06 01:50:40; author: julian; state: Exp; lines: +75 -3 Submitted by: archie@tribe.com allow the user to install using a Numeric GID or UID. this brings it in to line with chgrp and chown, ans is required by some people using FreeBSD in a product. ---------------------------- louie