Summary: | `objcopy --only-keep-debug` segfaults in current cvs | ||
---|---|---|---|
Product: | binutils | Reporter: | Mike Frysinger <vapier> |
Component: | binutils | Assignee: | unassigned |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug-binutils, toolchain |
Priority: | P2 | ||
Version: | 2.18 | ||
Target Milestone: | --- | ||
Host: | x86_64-linux-gnu | Target: | x86_64-linux-gnu |
Build: | Last reconfirmed: | ||
Attachments: | Do not use the first_section pointer if it is null. |
Description
Mike Frysinger
2006-11-29 01:23:24 UTC
Created attachment 1445 [details]
Do not use the first_section pointer if it is null.
Hi Mike, A simple case of a pointer being used when it was NULL. I have applied the uploaded patch to fix this. Cheers Nick Hi Mike, A simple case of a pointer being used when it was NULL. I have applied the uploaded patch to fix this. Cheers Nick bfd/ChangeLog 2006-12-01 Nick Clifton <nickc@redhat.com> PR 3609 * elf.c (rewrite_elf_program_header): Do not use the first_section pointer if it is null. The fix is incorrect. The correct patch is posted at http://sourceware.org/ml/binutils/2006-12/msg00011.html Fixed. |