bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/15140] AR produces invalid thin archive which cause binuti


From: nickc at redhat dot com
Subject: [Bug binutils/15140] AR produces invalid thin archive which cause binutils to crash
Date: Fri, 15 Feb 2013 14:38:22 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15140

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |nickc at redhat dot com
         Resolution|                            |FIXED

--- Comment #6 from Nick Clifton <nickc at redhat dot com> 2013-02-15 14:38:22 
UTC ---
Hi Dmitry,

  The problem here is not the flattening of thin archives, but rather the fact
that you are trying to convert a normal, non-thin, archive into a thin one. 
This is not supported, but ar should have produced an error message when the
attempt was made.

  I have checked in a patch which fixes ar so that it will produce an error
message.  It also updates the documentation to make it clear that archives
cannot be converted between normal and thin types.  Finally the patch fixes
readelf so that it no longer segfaults on the corrupted archive and nm so that
it no longer goes into an infinite loop trying to read its symbol table.

Cheers
  Nick

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]