commit | 31ad7e7b27d32ab4a56b929291dc9ef3c6eabc30 | [log] [tgz] |
---|---|---|
author | Brad Smith <brad@comstyle.com> | Thu Jan 21 19:39:52 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jan 21 17:24:39 2021 -0800 |
tree | 46e6406363b028b1b99416914a2a2744e0ebd00c | |
parent | 4b46840e733f8cfee82a2591ee32bff183e9ef30 [diff] |
[libcxx] Check return value for asprintf() local __libcpp_asprintf_l() -> libc asprintf() was inspecting the pointer (with indeterminate value) for failure, rather than the return value of -1. Reviewed By: ldionne Differential Revision: https://reviews.llvm.org/D94564 GitOrigin-RevId: 1be2524b7d213035e591bee3eecccdd6b59d14a5