Fix address violation when reading corrupt DWARF data.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 6997db969c1fb116f4f101066aeb8ea58525b432..f5da75d70f85183dee609e1d20e45f7f9fd5cf09 100644 (file)
@@ -1,3 +1,13 @@
+2017-06-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21648
+       * dwarf.c (LEB): Rename to SKIP_ULEB and READ_ULEB.  Add check for
+       reading a value that is too big for the containing variable.
+       (SLEB): Rename to SKIP_SLEB and READ_SLEB.  Add similar check.
+       Replace uses of LEB and SLEB with appropriate new macro.
+       (display_debug_frames): Use an unsigned int for the 'reg'
+       variable.  Use a signed long for the 'l' variable.
+
 2017-06-19  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/21619
This page took 0.023943 seconds and 4 git commands to generate.