[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<AS4PR05MB9647A320CA0474724147F99C8861A@AS4PR05MB9647.eurprd05.prod.outlook.com>
Date: Tue, 2 Jan 2024 00:28:01 +0000
From: Tung Quang Nguyen <tung.q.nguyen@...tech.com.au>
To: Markus Elfring <Markus.Elfring@....de>,
"tipc-discussion@...ts.sourceforge.net"
<tipc-discussion@...ts.sourceforge.net>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>, "kernel-janitors@...r.kernel.org"
<kernel-janitors@...r.kernel.org>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Jon
Maloy <jmaloy@...hat.com>, Paolo Abeni <pabeni@...hat.com>, Ying Xue
<ying.xue@...driver.com>
CC: LKML <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] tipc: Improve exception handling in tipc_bcast_init()
>Subject: [PATCH] tipc: Improve exception handling in tipc_bcast_init()
>
>From: Markus Elfring <elfring@...rs.sourceforge.net>
>Date: Sun, 31 Dec 2023 12:20:06 +0100
>
>The kfree() function was called in two cases by the tipc_bcast_init() function during error handling even if the passed variable
>contained a null pointer.
>This issue was detected by using the Coccinelle software.
kfree() validates the pointer before doing actual memory free. Your patch is not necessary.
Powered by blists - more mailing lists