mirror of
https://git.freebsd.org/ports.git
synced 2025-06-14 09:10:32 -04:00
Update to latest upstream version, 0.168. 0.168 removes the eu-ld utility and adds the eu-elfcompress utility. Requested by: emaste@, kib@ Approved by: bapt@ Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D9240
11 lines
496 B
C
11 lines
496 B
C
--- libdw/dwarf_getsrclines.c.orig 2016-12-25 13:36:55 UTC
|
|
+++ libdw/dwarf_getsrclines.c
|
|
@@ -273,7 +273,7 @@ read_srclines (Dwarf *dbg,
|
|
/* Remember array with the standard opcode length (-1 to account for
|
|
the opcode with value zero not being mentioned). */
|
|
const uint8_t *standard_opcode_lengths = linep - 1;
|
|
- if (unlikely (lineendp - linep < opcode_base - 1))
|
|
+ if (unlikely (lineendp - linep < (ptrdiff_t)opcode_base - 1))
|
|
goto invalid_data;
|
|
linep += opcode_base - 1;
|
|
|