Thread (26 messages) 26 messages, 5 authors, 2025-08-19

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

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help