[Bug binutils/25526] [readelf] segmentation fault crash with -a -D flag

2020-02-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25526

--- Comment #1 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

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

commit 736990c44277615e47d5dfab523c70488911624d
Author: Nick Clifton 
Date:   Thu Feb 27 16:28:25 2020 +

Fix an illegal memory access by readelf when displaying the contents of a
corrupt IA64 binary.

PR 25526
* readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
get_data is unable to load the string table.

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


[Bug binutils/25526] [readelf] segmentation fault crash with -a -D flag

2020-02-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25526

Nick Clifton  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||nickc at redhat dot com
 Resolution|--- |FIXED

--- Comment #2 from Nick Clifton  ---
Fixed.

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


[Bug binutils/25543] Wrong 'readelf -p' output

2020-02-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25543

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #1 from Nick Clifton  ---
Created attachment 12326
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12326&action=edit
Proposed patch

Hi Holger,

  What do you think of the uploaded patch ?

  With it applied, readelf's output for your test case looks like this:

String dump of section '.mysection':
  [ 0]  line1 : 1235\n
  [ d]  line2 : 5678\n
  [1a]  line3 : abcdefg\n
  [2a]  line4 : hijklmnop\n
  [3c]  line5 : qrstu\n
  [4a]  line6 : vwxyz\n

Note - the \n characters are there deliberately.  I think that it is important
to show that there is a newline character present in the string.

Cheers
  Nick

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


Issue 20067 in oss-fuzz: binutils:fuzz_disassemble: Undefined-shift in frv_cgen_extract_operand

2020-02-27 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 20067 by sheriffbot: binutils:fuzz_disassemble: 
Undefined-shift in frv_cgen_extract_operand
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20067#c3

This bug has been fixed for 30 days. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

[Bug binutils/24511] nm should not mark symbols in .init_array as "t"

2020-02-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24511

--- Comment #3 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=49d9fd42acefc1c0ee282b5808874a1074bf1ecd

commit 49d9fd42acefc1c0ee282b5808874a1074bf1ecd
Author: Alan Modra 
Date:   Thu Feb 27 14:23:34 2020 +1030

.idata symbols should be reported with i or I flag by nm

PR 24511
* syms.c (stt): Trim off all but 'e', 'i' and 'p' entries.
(coff_section_type): Adjust comment.
(decode_section_type): Likewise.  Call coff_section_type before
decode_section_type.
(bfd_decode_symclass): Use 'c' for common sections other than
the standard one.

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


[Bug binutils/24511] nm should not mark symbols in .init_array as "t"

2020-02-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24511

--- Comment #4 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=5f6028029146629b5fd5732e20c600b5837c20a9

commit 5f6028029146629b5fd5732e20c600b5837c20a9
Author: Alan Modra 
Date:   Thu Feb 27 16:26:19 2020 +1030

mmix-mmo set SEC_DATA for .data section

With the bfd_decode_symclass change, ld SIZEOF test fails due to
data_end being reported as type '?'.

bfd/
PR 24511
* mmo.c (mmo_scan): Set SEC_DATA for .data.
ld/
PR 24511
* testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
* testsuite/ld-mmix/sec-2.d: Likewise.
* testsuite/ld-mmix/sec-3.d: Likewise.
* testsuite/ld-mmix/sec-4.d: Likewise.
* testsuite/ld-mmix/spec802.d: Likewise.
* testsuite/ld-mmix/spec803.d: Likewise.
* testsuite/ld-mmix/spec804.d: Likewise.
* testsuite/ld-mmix/spec805.d: Likewise.
* testsuite/ld-mmix/spec806.d: Likewise.
* testsuite/ld-mmix/spec807.d: Likewise.
* testsuite/ld-mmix/spec808.d: Likewise.

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


[Bug binutils/24511] nm should not mark symbols in .init_array as "t"

2020-02-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24511

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

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

commit 40bfb9762747f8336b17c70a0173d10200fa62eb
Author: Alan Modra 
Date:   Thu Feb 27 17:28:47 2020 +1030

Re: PR24511, nm should not mark symbols in .init_array as "t"

PR 24511
* syms.c (bfd_decode_symclass): Reverse order of coff_section_type
and decode_section_type calls.

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