[Bug binutils/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-07-12 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Alan Modra  changed:

   What|Removed |Added

 CC||lxumei8 at gmail dot com

--- Comment #13 from Alan Modra  ---
*** Bug 26230 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/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-06-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Alan Modra  changed:

   What|Removed |Added

 CC||featherrain26 at gmail dot com

--- Comment #12 from Alan Modra  ---
*** Bug 26167 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/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-06-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Alan Modra  changed:

   What|Removed |Added

 CC||feidiyin at gmail dot com

--- Comment #11 from Alan Modra  ---
*** Bug 26154 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/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-06-11 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Alan Modra  changed:

   What|Removed |Added

 CC||15664243668 at 163 dot com

--- Comment #10 from Alan Modra  ---
*** Bug 26111 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/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-05-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Alan Modra  changed:

   What|Removed |Added

 CC||dkcjd2000 at gmail dot com

--- Comment #9 from Alan Modra  ---
*** Bug 25958 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/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-05-03 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Alan Modra  changed:

   What|Removed |Added

 CC||xiaoxiong_wang at foxmail dot 
com

--- Comment #8 from Alan Modra  ---
*** Bug 25914 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/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

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

Nick Clifton  changed:

   What|Removed |Added

 CC||natalierice at yeah dot net

--- Comment #7 from Nick Clifton  ---
*** Bug 25624 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/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

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

--- Comment #6 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_34-branch branch has been updated by Nick Clifton
:

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

commit 82f439d028c65663a0baf0a17ef5c4a2ea5c84a7
Author: Nick Clifton 
Date:   Tue Feb 11 15:55:25 2020 +

Import a fix from the mainline sources that prevents a potential illegal
memory access when parsing PE binaries.

PR 25447
* coffgen.c (_bfd_coff_close_and_cleanup): Do not clear the keep
syms and keep strings flags as these may have been set in order to
prevent a bogus call to free.

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


[Bug binutils/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-02-11 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Alan Modra  changed:

   What|Removed |Added

 CC||tsiming1907 at 163 dot com

--- Comment #5 from Alan Modra  ---
*** Bug 25530 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/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-02-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Alan Modra  changed:

   What|Removed |Added

 CC||law4dmail at gmail dot com

--- Comment #4 from Alan Modra  ---
*** Bug 25529 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/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-01-26 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Alan Modra  changed:

   What|Removed |Added

 CC||amodra at gmail dot com

--- Comment #3 from Alan Modra  ---
Sorry Nick, that was me chasing oss-fuzz memory leak bugs.  Which proves once
again that I ought to just ignore this sort of asan/ubsan report.

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


[Bug binutils/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-01-24 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

Nick Clifton  changed:

   What|Removed |Added

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

--- Comment #2 from Nick Clifton  ---
Hi Chien,

  Thanks for reporting this bug.  I have checked in a small patch to fix the
problem.

Cheers
  Nick

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


[Bug binutils/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols

2020-01-24 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25447

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

commit caa31cfad6c16ffbd5c396f74273fc9e413906f0
Author: Nick Clifton 
Date:   Fri Jan 24 13:19:48 2020 +

Fix an illegal call to free() when copying a PE format file.

PR 25447
* coffgen.c (_bfd_coff_close_and_cleanup): Do not clear the keep
syms and keep strings flags as these may have been set in order to
prevent a bogus call to free.

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