Alexander Richardson 05181a849b
[libunwind] Fix wrong end argument passed to decodeEHHdr() (#68813)
All but one callsite were actually passing start+length arguments.
This should not have any functional change since the end argument is
almost always ignored.
I noticed this while debugging some incorrect error messages being
printed while running the testsuite baremetal (using binaries that did
not have a valid eh_frame_hdr section): the tests print
`libunwind: unsupported .eh_frame_hdr version: 20 at
8000d30814`
because
libunwind is reading nonsense data for .eh_frame_hdr.
2023-10-11 19:35:11 +01:00
..
2023-09-06 00:56:09 -04:00