diff options
| author | Jason Molenda <jmolenda@apple.com> | 2018-02-02 22:48:45 +0000 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2018-02-02 22:48:45 +0000 |
| commit | 37713073d65e473b6306b347a3f6e892128e27ca (patch) | |
| tree | d5fd06c50bfa72134b9dee7cbbea03d70655201c /lld/wasm/MarkLive.cpp | |
| parent | 7a64a3d59c2bbfd0d43a20b1443af95193e3e614 (diff) | |
| download | bcm5719-llvm-37713073d65e473b6306b347a3f6e892128e27ca.tar.gz bcm5719-llvm-37713073d65e473b6306b347a3f6e892128e27ca.zip | |
Fix a copy of a fixed length, possibly non-nul terminated, string
into a std::string so we don't run off the end of the array when
there is no nul byte in ProcessElfCore::parseLinuxNotes.
Found with ASAN testing.
<rdar://problem/37134319>
Differential revision: https://reviews.llvm.org/D42828
llvm-svn: 324156
Diffstat (limited to 'lld/wasm/MarkLive.cpp')
0 files changed, 0 insertions, 0 deletions

