[Bug binutils/21659] New: strings behaviour when called on a directory

2017-06-22 Thread jg at jguk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21659

Bug ID: 21659
   Summary: strings behaviour when called on a directory
   Product: binutils
   Version: 2.26
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: jg at jguk dot org
  Target Milestone: ---

Existing output
===

$ strings mydir
$ strings missingfile
strings: 'missingfile': No such file

My feeling is that there should be a message for 'mydir'

Expected output
===

$ strings mydir
strings: 'mydir': Is a directory


Bit of a long reference, but back in 2003 Nick Clifton replied:
http://www.cygwin.com/ml/binutils/2003-10/msg00617.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


[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite

2017-06-22 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21090

--- Comment #31 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by H.J. Lu :

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

commit 922109c7182858b005f55f6ac69bb6af145fc710
Author: H.J. Lu 
Date:   Thu Jun 22 12:53:39 2017 -0700

Pass $NOPIE_CFLAGS to ELF visibility tests

PR ld/21090
* testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Pass
$NOPIE_CFLAGS if non-PIE is required.

-- 
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 gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite

2017-06-22 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21090

--- Comment #30 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by H.J. Lu :

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

commit 329b5ba137687c4cf00413534a08ec33c8acb556
Author: H.J. Lu 
Date:   Thu Jun 22 10:07:53 2017 -0700

Pass $NOPIE_CFLAGS/$NOPIE_LDFLAGS to "Run pr19031"

PR ld/21090
* testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and
$NOPIE_LDFLAGS to "Run pr19031".

-- 
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 gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite

2017-06-22 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21090

--- Comment #29 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by H.J. Lu :

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

commit 9d1c54ed7f3a4a70f35f85658c311697c17a95f5
Author: H.J. Lu 
Date:   Thu Jun 22 09:53:33 2017 -0700

Pass $NOPIE_CFLAGS and $NOPIE_LDFLAGS to more ELF tests

PR ld/21090
* testsuite/ld-gc/gc.ex: Compile tmpdir/pr14265.o with
$NOPIE_CFLAGS.
* testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and
$NOPIE_LDFLAGS if non-PIE is required.
* testsuite/ld-i386/no-plt.exp (NOPIE_CFLAGS): New.
(NOPIE_LDFLAGS): Likewise.
Pass $NOPIE_LDFLAGS if non-PIE is required.
* testsuite/ld-shared/shared.exp: Compile tmpdir/sh1np.o with
$NOPIE_CFLAGS.

-- 
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/21653] SEGV on unknown address in setup_sections

2017-06-22 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21653

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #3 from Nick Clifton  ---
Hi Alexandre,

  I could not reproduce this failure.  Please could you retry and if the
  problem is fixed, please could you close this PR.

Cheers
  Nick

-- 
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/21651] heap-buffer-overflow in add_symbol

2017-06-22 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21651

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #5 from Nick Clifton  ---
Hi Alexandre,

  I cannot reproduce these failures - either of them.  Please could you
  check to see if they have already been fixed, and if so, close this PR.

Cheers
  Nick

-- 
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/21641] SEGV on unknown address in setup_sections

2017-06-22 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21641

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #3 from Nick Clifton  ---
Hi Alexandre,

  I could not reproduce this failure.  Please could you recheck and see if
  the problem still exists ?  If not, please could you close this PR.

Cheers
  Nick

-- 
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/21649] heap-buffer-overflow in setup_sections

2017-06-22 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21649

Nick Clifton  changed:

   What|Removed |Added

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

--- Comment #4 from Nick Clifton  ---
Hi Alexandre,

  Thanks for reporting this bug.  There was a small problem in the SOM
  parser in the BFD library, but I have now checked in a patch to fix
  it.

Cheers
  Nick

-- 
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/21650] heap-buffer-overflow in _bfd_vms_save_counted_string

2017-06-22 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21650

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #3 from Nick Clifton  ---
Hi Alexandre,

  I cannot reproduce this failure.  I suspect that the problem has already
  been fixed by one of the previous patches.  Please could you check and
  see if the problem still exists for you.  If not, then please could you
  close this PR.

Cheers
  Nick

-- 
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/21649] heap-buffer-overflow in setup_sections

2017-06-22 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21649

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

commit d19237d98d5c227bc33693057eb466702386cdfb
Author: Nick Clifton 
Date:   Thu Jun 22 10:33:56 2017 +0100

Fix address violation parsing a corrupt SOM binary.

PR binutils/21649
* som.c (setup_sections): NUL terminate the space_strings buffer.
Check that the space.name field does not index beyond the end of
the space_strings buffer.

-- 
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