Thread (4 messages) 4 messages, 3 authors, 2025-09-25

Re: [PATCH net-next] dpll: zl3073x: Fix double free in zl3073x_devlink_flash_update()

From: Simon Horman <horms@kernel.org>
Date: 2025-09-24 17:01:01
Also in: kernel-janitors, lkml

On Tue, Sep 23, 2025 at 02:13:01PM +0300, Dan Carpenter wrote:
The zl3073x_devlink_flash_prepare() function calls zl3073x_fw_free()
and the caller also calls zl3073x_devlink_flash_update() so it leads
s/zl3073x_devlink_flash_update/zl3073x_fw_free/ ?
to a double free.  Delete the extra free.

Fixes: a1e891fe4ae8 ("dpll: zl3073x: Implement devlink flash callback")
Signed-off-by: Dan Carpenter <redacted>
Thanks Dan,

Aside from the nit above, this looks good to me.

Reviewed-by: Simon Horman <horms@kernel.org>

...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help