https://sourceware.org/bugzilla/show_bug.cgi?id=31145
Alan Modra changed:
What|Removed |Added
Resolution|FIXED |NOTABUG
--- Comment #5 from Alan Modra
cf86e13d8bfc2924746b8e45299aed103d090985
Author: Alan Modra
Date: Wed Dec 20 08:29:12 2023 +1030
Re: PR31145, potential memory leak in binutils/ld
Revert most of this patch, it isn't correct to free the BFD_IN_MEMORY
iostream in io_reinit.
PR 31145
* format.c (io_reinit): Revert last c
https://sourceware.org/bugzilla/show_bug.cgi?id=31145
Alan Modra changed:
What|Removed |Added
Target Milestone|--- |2.42
Severity|critical
4ace84a15ca943f52e590c264d82dfba350482e3
Author: Alan Modra
Date: Fri Dec 15 12:24:56 2023 +1030
PR31145, potential memory leak in binutils/ld
PR 31145
* bfd.c (BFD_IN_MEMORY): Mention that bim is malloc'd.
* format.c (io_reinit): Free BFD_IN_MEMORY iostream.
* opn
https://sourceware.org/bugzilla/show_bug.cgi?id=31145
Sam James changed:
What|Removed |Added
CC||sam at gentoo dot org
--- Comment #1 from
https://sourceware.org/bugzilla/show_bug.cgi?id=31145
Alan Modra changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Last re
https://sourceware.org/bugzilla/show_bug.cgi?id=31145
Bug ID: 31145
Summary: potential memory leak in binutils/ld
Product: binutils
Version: 2.42 (HEAD)
Status: UNCONFIRMED
Severity: critical
Priority: P2
On Wed, Dec 04, 2019 at 07:14:06PM +0800, Xiaohan Wu wrote:
> Hello, I got a memory leak bug in binutils.
>
> ASAN log:
>
> ==29347==ERROR: LeakSanitizer: detected memory leaks
>
> Direct leak of 3 byte(s) in 1 object(s) allocated from:
> #0 0x483514 in __strdup
> /src/llvm-project/compiler
Hello, I got a memory leak bug in binutils.
ASAN log:
==29347==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 3 byte(s) in 1 object(s) allocated from:
#0 0x483514 in __strdup
/src/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp:468:3
#1 0x6e76d0 in get_field
/src/bin
Hi Xiaohan,
Are you running the fuzz target from ?
https://github.com/google/oss-fuzz/blob/master/projects/binutils/fuzz_disassemble.c
Did you apply this patch before compiling it ?
https://github.com/google/oss-fuzz/blob/master/projects/binutils/patch.diff
Cheers,
Philippe
> Le 4 déc. 2019 à 12
10 matches
Mail list logo