lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170914125044.23mxcexdv6z7nndl@treble>
Date:   Thu, 14 Sep 2017 07:50:44 -0500
From:   Josh Poimboeuf <jpoimboe@...hat.com>
To:     Martin Kepplinger <martink@...teo.de>
Cc:     mingo.kernel.org@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] tools: objtool: fix memory leak in
 elf_create_rela_section()

On Thu, Sep 14, 2017 at 08:01:38AM +0200, Martin Kepplinger wrote:
> Let's free the allocated char array relaname before returning
> in order to avoid leaking memory.
> 
> Signed-off-by: Martin Kepplinger <martink@...teo.de>
> ---
> 
> I should've allocated some brain resources before freeing some computer's.

Oops.  I also failed to engage the brain.  Sometimes the simplest
patches are the most deceptive. ;-)

Acked-by: Josh Poimboeuf <jpoimboe@...hat.com>

-- 
Josh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ