diff options
| author | Alan Modra <amodra@gmail.com> | 2024-08-01 20:36:42 +0930 |
|---|---|---|
| committer | Alan Modra <amodra@gmail.com> | 2024-08-01 21:52:34 +0930 |
| commit | 479c61163612f37d853efd21c40963459ef611d4 (patch) | |
| tree | c29deec5fbee7b14863eda95e285ebd0261e12d5 /binutils/windint.h | |
| parent | b782c65ba1103270d0e5097b655489ec08470ca9 (diff) | |
| download | binutils-479c61163612f37d853efd21c40963459ef611d4.zip binutils-479c61163612f37d853efd21c40963459ef611d4.tar.gz binutils-479c61163612f37d853efd21c40963459ef611d4.tar.bz2 | |
skip_attr_bytes assertion (data) <= (end) fail
get_type_abbrev_from_form is lax in not limiting data for a uleb to
the current CU, because DW_FORM_ref_addr allows access to other CU's
data. This can lead to an assertion fail when skipping or reading
attributes in get_type_signedness.
* dwarf.c (get_type_abbrev_from_form): Limit uleb data to map end
for ref_addr, cu_end otherwise.
Diffstat (limited to 'binutils/windint.h')
0 files changed, 0 insertions, 0 deletions
