summaryrefslogtreecommitdiffstats
path: root/libdw/ChangeLog
diff options
context:
space:
mode:
authorJosh Stone <[email protected]>2014-02-05 11:26:27 -0800
committerJosh Stone <[email protected]>2014-02-05 11:26:27 -0800
commit50d5b2cbfe7e2d790c91e6f799a59c70ab4839ff (patch)
tree6c57ab8f62b5c59b7c469d39d6acfa3f91adee48 /libdw/ChangeLog
parent27ffb08c789ca9c4b2635ca89b4004b324fb4ea4 (diff)
libdw: Read DW_AT_decl_file/line/column as unsigned
Section 2.14 of the DWARF v3 & v4 standards specifies that all three declaration coordinates are unsigned integer constants. DWARF v2 did not specify signedness. Now dwarf_decl_* use dwarf_formudata to read these values. Also, an assertion on the range of line/column is now a handled error, setting DWARF_E_INVALID_DWARF for values greater than INT_MAX. Signed-off-by: Josh Stone <[email protected]>
Diffstat (limited to 'libdw/ChangeLog')
-rw-r--r--libdw/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index 6e779c8e..19a2a505 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,3 +1,9 @@
+2014-02-05 Josh Stone <[email protected]>
+
+ * dwarf_decl_file.c (dwarf_decl_file): Read the idx as unsigned.
+ * dwarf_decl_line.c (__libdw_attr_intval): Read the line/column as
+ unsigned. Change the range assert to DWARF_E_INVALID_DWARF.
+
2013-12-30 Mark Wielaard <[email protected]>
* libdw.map (ELFUTILS_0.158): Add dwfl_core_file_attach and