NetBSD Problem Report #42469

From yamt@NetBSD.org  Fri Dec 18 05:01:07 2009
Return-Path: <yamt@NetBSD.org>
Received: by www.NetBSD.org (Postfix, from userid 1270)
	id 61B6963C37E; Fri, 18 Dec 2009 05:01:07 +0000 (UTC)
Message-Id: <20091218050107.61B6963C37E@www.NetBSD.org>
Date: Fri, 18 Dec 2009 05:01:07 +0000 (UTC)
From: yamt@NetBSD.org
Reply-To: yamt@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: recursive acquirement of __environ_lock
X-Send-Pr-Version: 3.95

>Number:         42469
>Category:       lib
>Synopsis:       recursive acquirement of __environ_lock
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 18 05:05:00 +0000 2009
>Originator:     YAMAMOTO Takashi
>Release:        NetBSD-current
>Organization:

>Environment:
>Description:
	setenv calls malloc with __environ_lock held.
	malloc can end up with calling getenv, which also acquire
	__environ_lock, for MALLOC_OPTIONS.
>How-To-Repeat:
	code inspection.
>Fix:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.