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: <bef30d4b-8d43-4595-ac11-53526723ea34@web.de>
Date: Fri, 3 Jan 2025 12:56:32 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Masahiro Yamada <masahiroy@...nel.org>, linux-kbuild@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>, Andreas Grünbacher
 <agruen@...e.de>, Andrew Morton <akpm@...ux-foundation.org>,
 Sam Ravnborg <sam@...nborg.org>
Subject: Re: [PATCH 1/6] genksyms: fix memory leak when the same symbol is
 added from source

…
> +++ b/scripts/genksyms/genksyms.c
> @@ -239,6 +239,7 @@ static struct symbol *__add_symbol(const char *name, enum symbol_type type,
>  						"unchanged\n");
>  				}
>  				sym->is_declared = 1;
> +				free_list(defn, NULL);
>  				return sym;
>  			} else if (!sym->is_declared) {
>  				if (sym->is_override && flag_preserve) {
…

Would you like to complete the data processing by using a corresponding goto chain?

Regards,
Markus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ