Avoid possible pointer wrap
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 302629794c0b010ff0df1575e5aabf7b0957b977..ae27252e982fcb48d176715d93462cb4760cc338 100644 (file)
@@ -1,3 +1,9 @@
+2021-05-10  Alan Modra  <amodra@gmail.com>
+
+       * dwarf.c (SAFE_BYTE_GET): Check bounds by subtracting amount from
+       END rather than adding amount to PTR.
+       (SAFE_SIGNED_BYTE_GET, SAFE_BYTE_GET64): Likewise.
+
 2021-05-09  Alan Modra  <amodra@gmail.com>
 
        * objcopy.c (eq_string): Delete.
This page took 0.023685 seconds and 4 git commands to generate.