Skip to content

Commit

Permalink
Fix incorrect exception handling.
Browse files Browse the repository at this point in the history
Approved by:	so
Security:	FreeBSD-EN-19:15.libunwind
  • Loading branch information
tetlowgm authored and fichtner committed Aug 18, 2019
1 parent 6980dcb commit ce5ef33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/llvm/projects/libunwind/src/EHHeaderParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ void EHHeaderParser<A>::decodeEHHdr(A &addressSpace, pint_t ehHdrStart,
ehHdrInfo.eh_frame_ptr =
addressSpace.getEncodedP(p, ehHdrEnd, eh_frame_ptr_enc, ehHdrStart);
ehHdrInfo.fde_count =
addressSpace.getEncodedP(p, ehHdrEnd, fde_count_enc, ehHdrStart);
fde_count_enc == DW_EH_PE_omit
? 0
: addressSpace.getEncodedP(p, ehHdrEnd, fde_count_enc, ehHdrStart);
ehHdrInfo.table = p;
}

Expand Down

0 comments on commit ce5ef33

Please sign in to comment.