[ldv-project] [PATCH] rsi: fix memory leak in rsi_load_ta_instructions()

Kalle Valo kvalo at codeaurora.org
Wed Dec 24 19:26:39 MSK 2014


Alexey Khoroshilov <khoroshilov at ispras.ru> writes:

> Memory allocated by kmemdup() in rsi_load_ta_instructions() is leaked.
> But duplication of firmware data here is useless,
> so the patch removes kmemdup() at all.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>

Thanks, applied to wireless-drivers-next.git.

-- 
Kalle Valo



More information about the ldv-project mailing list