Submitting upstream from OpenBSD tree:
local __libcpp_asprintf_l() -> libc asprintf() was inspecting the pointer (with indeterminate value) for failure, rather than the return value of -1.
Differential D94564
[libcxx] Check return value for asprintf() ClosedPublic Authored by brad on Jan 12 2021, 4:21 PM.
Details
Summary Submitting upstream from OpenBSD tree: local __libcpp_asprintf_l() -> libc asprintf() was inspecting the pointer (with indeterminate value) for failure, rather than the return value of -1.
Diff Detail
Event TimelineHerald added 1 blocking reviewer(s): Restricted Project. · View Herald TranscriptJan 12 2021, 4:21 PM This revision now requires changes to proceed.Jan 18 2021, 11:05 AM This revision is now accepted and ready to land.Jan 21 2021, 7:45 AM Closed by commit rG1be2524b7d21: [libcxx] Check return value for asprintf() (authored by brad). · Explain WhyJan 21 2021, 4:43 PM This revision was automatically updated to reflect the committed changes.
Diff 318356 libcxx/include/locale
|