summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/Execution.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-01-05 10:03:02 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-01-05 10:03:02 +0000
commitcbf651f7399feea9ea8495af571d67d924b8ec11 (patch)
tree40273021e1fdc02fed22bb5c0bbc71972cee7dfe /clang/lib/Tooling/Execution.cpp
parent1ad085b8081e270e6038bf39dfc84eb50c14d3af (diff)
downloadbcm5719-llvm-cbf651f7399feea9ea8495af571d67d924b8ec11.tar.gz
bcm5719-llvm-cbf651f7399feea9ea8495af571d67d924b8ec11.zip
[DebugInfo] Don't crash when given invalid DWARFv5 line table prologue.
This patch replaces an assertion with an explicit check for the validity of the FORM parameters. The assertion was triggered when the DWARFv5 line table contained a zero address size. This fixes OSS-Fuzz Issue 4644 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4644 Differential revision: https://reviews.llvm.org/D41615 llvm-svn: 321863
Diffstat (limited to 'clang/lib/Tooling/Execution.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud