From owner-freebsd-bugs Mon Jan 22 06:00:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA12627 for bugs-outgoing; Mon, 22 Jan 1996 06:00:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA12606 Mon, 22 Jan 1996 06:00:02 -0800 (PST) Resent-Date: Mon, 22 Jan 1996 06:00:02 -0800 (PST) Resent-Message-Id: <199601221400.GAA12606@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mpp@mpp.minn.net Received: from mpp.minn.net (root@mpp.Minn.Net [204.157.201.242]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id FAA12254 for ; Mon, 22 Jan 1996 05:53:01 -0800 (PST) Received: (from mpp@localhost) by mpp.minn.net (8.7.3/8.6.9) id HAA20973; Mon, 22 Jan 1996 07:53:00 -0600 (CST) Message-Id: <199601221353.HAA20973@mpp.minn.net> Date: Mon, 22 Jan 1996 07:53:00 -0600 (CST) From: Mike Pritchard Reply-To: mpp@mpp.minn.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/964: Net user in password file causes malloc warning msgs Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 964 >Category: bin >Synopsis: Net user in password file causes malloc warning msgs >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 22 06:00:01 PST 1996 >Last-Modified: >Originator: Mike Pritchard >Organization: Mike Pritchard >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD 2.2-CURRENT as of about a week ago >Description: While running a test case from a PR, I added a NIS type user to the end of my password file (+mpptest:*:0:0:...). After that, every program that calls the getpw* routines issues the following malloc messages: Malloc warning: free(): junk pointer (too low) - or - Malloc warning: free(): junk pointer (too high) It also scared the hell out of me when vipw issued the same warning when I went in to remove that user from my password file. NOTE: I am not really running any of the NIS stuff, I was just attempting to verify a PR, so that may be why things are getting screw up. Either way there is something wrong that needs to be fixed. >How-To-Repeat: Add a line like: +mpptest:*:0:0:... to the end of your password file. >Fix: Haven't looked. I figured I'd let someone who knows something about this code take a shot at it first. >Audit-Trail: >Unformatted: