Skip to content
Snippets Groups Projects
Commit ec5f5bf8 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

radio_si470x: Fix free memory corruption


The release path for a disconnected device frees the object then unlocks
the mutex in the freed object...

Found by Dan Carpenter using Smatch

Signed-off-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 79e95eba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment