From owner-freebsd-bugs Thu Jan 7 17:40:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA10159 for freebsd-bugs-outgoing; Thu, 7 Jan 1999 17:40:11 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA10152 for ; Thu, 7 Jan 1999 17:40:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA01890; Thu, 7 Jan 1999 17:40:01 -0800 (PST) Received: from mta2.odn.ne.jp (mta2.odn.ne.jp [143.90.131.69]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA09398 for ; Thu, 7 Jan 1999 17:32:18 -0800 (PST) (envelope-from t-ishii@tryplanet.com) Received: from smtp12.odn.ne.jp (KMGcc-04p57.ppp.odn.ad.jp [210.231.33.149]) by mta2.odn.ne.jp (8.8.8+2.7Wbeta7/3.6W/9808281343) with SMTP id KAA10098 for ; Fri, 8 Jan 1999 10:31:48 +0900 (JST) Message-Id: <199901080131.KAA10098@mta2.odn.ne.jp> Date: Fri, 8 Jan 1999 10:31:48 +0900 (JST) From: t-ishii@tryplanet.com Reply-To: t-ishii@tryplanet.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/9381: fts_close bug Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9381 >Category: misc >Synopsis: read freed memory >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 7 17:40:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Tomokazu ISHII >Release: FreeBSD 2.2.6-RELEASE i386 >Organization: >Environment: >Description: /usr/src/lib/libc/gen/fts.c L244- /* Free up the stream pointer. */ free(sp); /* Set errno and return. */ if (!ISSET(FTS_NOCHDIR) && saved_errno) { errno = saved_errno; return (-1); } return (0); ISSET is #define ISSET(opt) (sp->fts_options & (opt)) ^^ And so is RedHatLinux5.2(glibc-2.0.7). >How-To-Repeat: >Fix: -- Tomokazu ISHII t-ishii@tryplanet.com I can't use English. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message