Skip to content

spi: ch341: fix memory leaks and use-after-free

Johan Hovold linux-spi lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: ch341: fix memory leaks on probe failuresdrivers/spi/spi-ch341.c+25 -110 replies
2/2spi: ch341: fix devres lifetimedrivers/spi/spi-ch341.c+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] spi: ch341: fix memory leaks and use-after-free

Fix probe error handling and devres lifetime to avoid memory leaks and use-after-free.

Johan

Johan Hovold (2):
spi: ch341: fix memory leaks on probe failures
spi: ch341: fix devres lifetime

 drivers/spi/spi-ch341.c | 43 +++++++++++++++++++++++++++--------------
 1 file changed, 28 insertions(+), 15 deletions(-)
Signature · 1 line
2.52.0