aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-08-08 16:34:03 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-08-08 16:34:03 +0000
commit8511777d3a41e5198a7028711754d3e9c29afddc (patch)
tree01199be05c675f202346c8f6215297eecb8acabf /clang/unittests/Basic/VirtualFileSystemTest.cpp
parentcaacedb03e95fb02cad30b0d53eb52494a543674 (diff)
downloadllvm-8511777d3a41e5198a7028711754d3e9c29afddc.zip
llvm-8511777d3a41e5198a7028711754d3e9c29afddc.tar.gz
llvm-8511777d3a41e5198a7028711754d3e9c29afddc.tar.bz2
[WASM] Fix overflow when reading custom section
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
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions