Re: [PATCH 1/6] can: esd_usb: Fix possible calls to kfree() with NULL
From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Date: 2025-08-12 12:33:52
Also in:
linux-can
From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Date: 2025-08-12 12:33:52
Also in:
linux-can
On 11/08/2025 22:06, Stefan Mätje wrote:
In esd_usb_start() kfree() is called with the msg variable even if the allocation of *msg failed.
But kfree() works fine with NULL pointers, have you seen any real issues with this code?