summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-06-11 02:54:30 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-06-11 02:54:30 +0000
commiteaf3f569247afc9e681d87905c28189dfb0c1293 (patch)
tree8b2a0fdd7ee1c9d58283dcb8b8cb78ea0c2bd658 /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
parente5bdedac9dc5ecb240a56dcb19e5fd923af6c353 (diff)
downloadbcm5719-llvm-eaf3f569247afc9e681d87905c28189dfb0c1293.tar.gz
bcm5719-llvm-eaf3f569247afc9e681d87905c28189dfb0c1293.zip
ELF: Don't process the partition end marker during combineEhSections().
Otherwise the getPartition() accessor may return an OOB pointer. Found using _GLIBCXX_DEBUG. The error is benign (we never dereference the pointer for the end marker) so this wasn't caught by e.g. the sanitizer bots. llvm-svn: 363026
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud