diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-08-04 17:39:29 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-08-04 17:39:29 -0700 |
| commit | 372062b4fe148c17a42ff0938781748ca1dc8328 (patch) | |
| tree | 099c03a994ffe8a502cbe82281b5ae15e738760c /lib/libunwind/src/EHHeaderParser.hpp | |
| parent | 42da1d385de8559710e04b5a05234f2dd8bb347e (diff) | |
| download | zig-372062b4fe148c17a42ff0938781748ca1dc8328.tar.gz zig-372062b4fe148c17a42ff0938781748ca1dc8328.zip | |
libunwind: update from LLVM 10 to 11rc1
Diffstat (limited to 'lib/libunwind/src/EHHeaderParser.hpp')
| -rw-r--r-- | lib/libunwind/src/EHHeaderParser.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libunwind/src/EHHeaderParser.hpp b/lib/libunwind/src/EHHeaderParser.hpp index 0101835b8e..f97cca5482 100644 --- a/lib/libunwind/src/EHHeaderParser.hpp +++ b/lib/libunwind/src/EHHeaderParser.hpp @@ -109,6 +109,8 @@ bool EHHeaderParser<A>::findFDE(A &addressSpace, pint_t pc, pint_t ehHdrStart, hdrInfo)) return false; + if (hdrInfo.fde_count == 0) return false; + size_t tableEntrySize = getTableEntrySize(hdrInfo.table_enc); pint_t tableEntry; |
