[Bug binutils/24887] New: readelf --notes: left justify "Data size"

2019-08-06 Thread maskray at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24887

Bug ID: 24887
   Summary: readelf --notes: left justify "Data size"
   Product: binutils
   Version: 2.33 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: maskray at google dot com
  Target Milestone: ---

% readelf -n core
...
  Owner Data size   Description 
  CORE 0x0150   NT_PRSTATUS (prstatus structure)

"Data size" is right justified. It will look slightly better if it is left
justified, to be consistent with "Owner" and "Description":

--- i/binutils/readelf.c
+++ w/binutils/readelf.c
@@ -19184 +19184 @@ process_notes_at (Filedata *   filedata,
-  printf (_("  %-20s %10s\tDescription\n"), _("Owner"), _("Data size"));
+  printf (_("  %-20s %-10s\tDescription\n"), _("Owner"), _("Data size"));


% readelf -n core
...
  OwnerData sizeDescription 
  CORE 0x0150   NT_PRSTATUS (prstatus structure)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24715] crash in objdump by fuzzing

2019-08-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24715

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |DUPLICATE

--- Comment #2 from Alan Modra  ---
Dup

*** This bug has been marked as a duplicate of bug 24714 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24714] crash in objdump by fuzzing

2019-08-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24714

--- Comment #3 from Alan Modra  ---
*** Bug 24715 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24714] crash in objdump by fuzzing

2019-08-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24714

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |INVALID

--- Comment #2 from Alan Modra  ---
This is just an out of memory condition.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24710] LargeMmapAllocator (error code: 12)

2019-08-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24710

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |INVALID

--- Comment #2 from Alan Modra  ---
No testcase, and out of memory isn't necessarily a problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24706] crashes in objdump when provided with fuzzed linux x86-64 elf samples

2019-08-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24706

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |WORKSFORME

--- Comment #2 from Alan Modra  ---
Running out of memory is not an error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24876] readelf: heap-buffer-overflow

2019-08-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24876

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
   Target Milestone|--- |2.33

--- Comment #3 from Alan Modra  ---
Fixed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24876] readelf: heap-buffer-overflow

2019-08-06 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24876

--- Comment #2 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=906799036a9bcc2b6f27fbcf894092bdc03f6da9

commit 906799036a9bcc2b6f27fbcf894092bdc03f6da9
Author: Alan Modra 
Date:   Wed Aug 7 11:50:28 2019 +0930

PR24876, readelf: heap-buffer-overflow in dump_ia64_unwind

PR 24876
* readelf.c (dump_ia64_unwind): Check that buffer is large
enough for "stamp" before reading.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/23573] "Too many open files" and binutils 2.31.1-1

2019-08-06 Thread manisandro at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23573

Sandro Mani  changed:

   What|Removed |Added

 CC||manisandro at gmail dot com

--- Comment #20 from Sandro Mani  ---
For reference, the commit which fixes this is
999d6dff80fab12d22c2a8d91923db6bde7fb3e5

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries

2019-08-06 Thread dilyan.palauzov at aegee dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24873

--- Comment #14 from dilyan.palauzov at aegee dot org  ---
I have removed  https://mail.aegee.org/dpa/ld24873/ .

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/24574] extern symbols in dlls are misleading under debugger

2019-08-06 Thread martin at martin dot st
https://sourceware.org/bugzilla/show_bug.cgi?id=24574

--- Comment #10 from Martin Storsjö  ---
The corresponding issue in LLD is fixed in https://reviews.llvm.org/D65727,
both in trunk and in the upcoming 9.x release branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


Re: LD Error from Pure Abstract Deconstructor [binutils-src-2012.09-62-i686-pc-linux-gnu-i386-linux]

2019-08-06 Thread Alan Modra
On Thu, Aug 01, 2019 at 03:18:16PM -0400, Ryan Lagasse wrote:
> /home/user/dir/dir/br_extern/output/dir/host/opt/ext-toolchain/bin/../lib/gc
> c/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ld: BFD
> (Sourcery CodeBench Lite 2012.09-62) 2.23.51.20120829 internal error,
> aborting at
> /scratch/jseymour/fall_releases/i686-pc-linux-gnu/obj/binutils-src-2012.09-6
> 2-i686-pc-linux-gnu-i386-linux/bfd/merge.c line 873 in
> _bfd_merged_section_offset
> 
>  
> 
> /home/user/dir/dir/br_extern/output/dir/host/opt/ext-toolchain/bin/../lib/gc
> c/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ld: Please
> report this bug.

Thank you for reporting this problem, but it is very likely already
fixed since your linker is almost 5 years old.  If you can recreate
the problem with the current binutils-2.32 release or current git
master, please open a bug report at
https://sourceware.org/bugzilla/enter_bug.cgi?product=binutils

-- 
Alan Modra
Australia Development Lab, IBM

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/23765] Malformed ELF header causes Out of Bounds read

2019-08-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23765

Nick Clifton  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2019-08-06
 CC||nickc at redhat dot com
 Ever confirmed|0   |1

--- Comment #1 from Nick Clifton  ---
I have proposed a patch here:

https://www.sourceware.org/ml/binutils/2019-08/msg00022.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils