bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory leak in disassemble_init_for_target


From: Nick Clifton
Subject: Re: Memory leak in disassemble_init_for_target
Date: Thu, 25 Jul 2019 15:50:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

Hi Philippe,

> And I would like to report two bugs, and propose the fuzz target.

As a general rule it is best to report bugs with the binutils using
the bugzilla system here:

  https://sourceware.org/bugzilla/enter_bug.cgi?product=binutils


> This is a memory leak in function disassemble_init_for_target

> And is seems to me that this ressource gets never freed (in programs such as 
> objdump) (or am I missing a clean function to be called ?)

Nope - but it is completely unimportant.  The memory will be
freed when objdump exits, and it will always exit, so the
memory is never consumed for very long.


Basically we are interested in fuzzing results that show illegal
memory accesses or buffer overruns or the like.  But memory leaks
are just not interesting because all of the tools are short term
programs that never stay permanently resident.

Cheers
  Nick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]