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
| ||
|
Message-ID: <YPD6fSsffOYs6cEc@mit.edu> Date: Thu, 15 Jul 2021 23:18:21 -0400 From: "Theodore Y. Ts'o" <tytso@....edu> To: wuguanghao <wuguanghao3@...wei.com> Cc: linux-ext4@...r.kernel.org, artem.blagodarenko@...il.com, liuzhiqiang26@...wei.com, linfeilong@...wei.com Subject: Re: [PATCH v2 01/12] profile_create_node: set magic before strdup(name) to avoid memory leak On Wed, Jun 30, 2021 at 04:27:13PM +0800, wuguanghao wrote: > If new->magic != PROF_MAGIC_NODE, profile_free_node() don't free node. > This will cause the node to be unable to be released correctly and > a memory leak will occur. > > Signed-off-by: Wu Guanghao <wuguanghao3@...wei.com> > Signed-off-by: Zhiqiang Liu <liuzhiqiang26@...wei.com> > Reviewed-by: Wu Bo <wubo40@...wei.com> Applied, thanks. - Ted
Powered by blists - more mailing lists