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] [day] [month] [year] [list]
Date:   Thu, 10 Nov 2022 15:28:38 +0100
From:   Takashi Iwai <tiwai@...e.de>
To:     Ye Bin <yebin@...weicloud.com>
Cc:     perex@...ex.cz, tiwai@...e.com, alsa-devel@...a-project.org,
        yebin10@...wei.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: hda: fix potential memleak in 'add_widget_node'

On Thu, 10 Nov 2022 15:45:39 +0100,
Ye Bin wrote:
> 
> From: Ye Bin <yebin10@...wei.com>
> 
> As 'kobject_add' may allocated memory for 'kobject->name' when return error.
> And in this function, if call 'kobject_add' failed didn't free kobject.
> So call 'kobject_put' to recycling resources.
> 
> Signed-off-by: Ye Bin <yebin10@...wei.com>

Thanks, applied now.


Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ