summaryrefslogtreecommitdiffstats
path: root/lld/wasm/MarkLive.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2018-02-02 22:48:45 +0000
committerJason Molenda <jmolenda@apple.com>2018-02-02 22:48:45 +0000
commit37713073d65e473b6306b347a3f6e892128e27ca (patch)
treed5fd06c50bfa72134b9dee7cbbea03d70655201c /lld/wasm/MarkLive.cpp
parent7a64a3d59c2bbfd0d43a20b1443af95193e3e614 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud