Fix an off-by-one error in the IN_RANGE macro used by readelf. Add another use of...
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 0f5d06b5a699f4458e9f8a5351e4432fb8fc0d4e..61a2e0020ccf56e4e9b0fd32109b7e1dc32e2d2b 100644 (file)
@@ -1,3 +1,10 @@
+2019-11-06  Christian Eggers  <ceggers@gmx.de>
+
+       * readelf.c (IN_RANGE): Rename parameter OFF to NELEM. Add
+       comment.  Catch potential integer overflow and fix off by one
+       error whilst checking reloc location against section size.
+       (apply_relocations): Use IN_RANGE macro.
+
 2019-11-04  Fangrui Song  <maskray@google.com>
 
        * objcopy.c (enum option_values): Add OPTION_KEEP_SECTION.
This page took 0.024548 seconds and 4 git commands to generate.