-
-
Notifications
You must be signed in to change notification settings - Fork 285
Closed
Labels
A-coreArea: anything not otherwise coveredArea: anything not otherwise coveredC-bugCategory: bug in current codeCategory: bug in current codeC-unsound 🚨Category: unsound behaviorCategory: unsound behavior
Description
because getenv
and setenv
are not thread-safe, localtime_r
in time may data race with std::env::set_var
in libstd.
I described this problem in chrono issue, and time is also affected.
Edit from @jhpratt:
Chrono users please see this comment.
yerke, timvisee, Randl, ttys3, booniepepper and 3 moredashed and ernado
Metadata
Metadata
Assignees
Labels
A-coreArea: anything not otherwise coveredArea: anything not otherwise coveredC-bugCategory: bug in current codeCategory: bug in current codeC-unsound 🚨Category: unsound behaviorCategory: unsound behavior