From owner-freebsd-bugs Tue Jan 28 23:40:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA16341 for bugs-outgoing; Tue, 28 Jan 1997 23:40:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA16335; Tue, 28 Jan 1997 23:40:02 -0800 (PST) Resent-Date: Tue, 28 Jan 1997 23:40:02 -0800 (PST) Resent-Message-Id: <199701290740.XAA16335@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Thomas.Traylor@mci.com Received: from vulture.cs.mci.com ([166.41.208.13]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA15941 for ; Tue, 28 Jan 1997 23:33:49 -0800 (PST) Received: (from tst@localhost) by vulture.cs.mci.com (8.8.2/8.8.2) id AAA02051; Wed, 29 Jan 1997 00:26:56 -0700 (MST) Message-Id: <199701290726.AAA02051@vulture.cs.mci.com> Date: Wed, 29 Jan 1997 00:26:56 -0700 (MST) From: Thomas S Traylor Reply-To: Thomas.Traylor@mci.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/2610: strdup will cause you app to core if passed a NULL string Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2610 >Category: gnu >Synopsis: strdup will cause you app to core if passed a NULL string >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 28 23:40:01 PST 1997 >Last-Modified: >Originator: Thomas S Traylor >Organization: >Release: FreeBSD 2.2-ALPHA i386 >Environment: Normal user environment. >Description: The library function strdup does not handle a NULL string being passed to it. When you do the application cores. >How-To-Repeat: Pass strdup a NULL string. >Fix: Have strdup check for a NULL string and then return a NULL string. >Audit-Trail: >Unformatted: