Sourceware Bugzilla – Attachment 11922 Details for
Bug 24829
readelf: multi interger overflow in readelf.c and dwarf.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
pr24829.patch (text/plain), 505 bytes, created by
Nick Clifton
on 2019-07-25 12:14:40 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Nick Clifton
Created:
2019-07-25 12:14:40 UTC
Size:
505 bytes
patch
obsolete
>diff --git a/binutils/readelf.c b/binutils/readelf.c >index 6175b33017..ceea26077b 100644 >--- a/binutils/readelf.c >+++ b/binutils/readelf.c >@@ -13358,7 +13358,7 @@ apply_relocations (Filedata * filedata, > } > > rloc = start + rp->r_offset; >- if ((rloc + reloc_size) > end || (rloc < start)) >+ if (rloc >= end || (rloc + reloc_size) > end || (rloc < start)) > { > warn (_("skipping invalid relocation offset 0x%lx in section %s\n"), > (unsigned long) rp->r_offset,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24829
:
11914
| 11922 |
11954
|
11961