Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 58473 Details for
Bug 91398
sys-devel/binutils: heap overflow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for crash on phdr or hdr == NULL
phdr-or-hdr-null.diff (text/plain), 755 bytes, created by
Tavis Ormandy (RETIRED)
on 2005-05-09 06:33:58 UTC
(
hide
)
Description:
fix for crash on phdr or hdr == NULL
Filename:
MIME Type:
Creator:
Tavis Ormandy (RETIRED)
Created:
2005-05-09 06:33:58 UTC
Size:
755 bytes
patch
obsolete
>--- bfd/elf.c 2004-09-27 21:46:06.000000000 +0100 >+++ bfd/elf.c 2005-05-09 14:28:54.000000000 +0100 >@@ -796,7 +796,8 @@ > /* Look through the phdrs to see if we need to adjust the lma. > If all the p_paddr fields are zero, we ignore them, since > some ELF linkers produce such output. */ >- phdr = elf_tdata (abfd)->phdr; >+ if ((phdr = elf_tdata (abfd)->phdr) == NULL) >+ return FALSE; > for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++) > { > if (phdr->p_paddr != 0) >@@ -1724,6 +1725,9 @@ > const struct elf_backend_data *bed = get_elf_backend_data (abfd); > const char *name; > >+ if (hdr == NULL) >+ return FALSE; >+ > name = elf_string_from_elf_strtab (abfd, hdr->sh_name); > > switch (hdr->sh_type)
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 91398
:
57996
|
58057
|
58185
|
58471
|
58472
|
58473
|
58474
|
58482