bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/23405] Some inputs may cause objcopy to crash, without bei


From: zhanggen12 at hotmail dot com
Subject: [Bug binutils/23405] Some inputs may cause objcopy to crash, without being detected by error checking or assertions
Date: Fri, 13 Jul 2018 00:17:57 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23405

zhanggen12 at hotmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |---

--- Comment #2 from zhanggen12 at hotmail dot com ---
(In reply to Alan Modra from comment #1)
> Seems to already be fixed with 2.31 or master binutils

The stack trace is as follows from gdb:

#0  aout_32_swap_std_reloc_out (address@hidden, g=0x74a730,
address@hidden)
    at aoutx.h:1971
#1  0x000000000048980f in aout_32_squirt_out_relocs (address@hidden,
section=<optimized out>)
    at aoutx.h:2444
#2  0x00000000004840a1 in i386linux_write_object_contents (abfd=0x7482f0) at
i386linux.c:77
#3  0x000000000043066a in bfd_close (abfd=0x7482f0) at opncls.c:731
#4  0x000000000040bd36 in copy_file (
    address@hidden
"./crashes/id:000024,sig:11,src:002665,op:flip1,pos:52",
address@hidden "a.elf",
    address@hidden, output_target=<optimized out>,
address@hidden,
    address@hidden) at objcopy.c:3530
#5  0x0000000000404924 in copy_main (argv=<optimized out>, argc=<optimized
out>) at objcopy.c:5478
#6  main (argc=3, argv=0x7fffffffdef8) at objcopy.c:5582

So the crash happens in aoutx.h, a header file in Binary File Descriptor
library.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]