NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/42469: recursive acquirement of __environ_lock

>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
        setenv calls malloc with __environ_lock held.
        malloc can end up with calling getenv, which also acquire
        __environ_lock, for MALLOC_OPTIONS.
        code inspection.


Home | Main Index | Thread Index | Old Index