summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/wasm-string-outside-section.test
Commit message (Collapse)AuthorAgeFilesLines
* [WASM] Fix overflow when reading custom sectionJonas Devlieghere2018-08-081-0/+3
When reading a custom WASM section, it was possible that its name extended beyond the size of the section. This resulted in a bogus value for the section size due to the size overflowing. Fixes heap buffer overflow detected by OSS-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8190 Differential revision: https://reviews.llvm.org/D50387 llvm-svn: 339269
OpenPOWER on IntegriCloud