RE: [PATCH] tipc: Improve exception handling in tipc_bcast_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Subject: [PATCH] tipc: Improve exception handling in tipc_bcast_init()
>
>From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
>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.




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux