Quoting Mauro Carvalho Chehab <mche...@s-opensource.com>:

This is an automatic generated email to let you know that the following patch were queued:

Subject: media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
Author:  Gustavo A. R. Silva <garsi...@embeddedor.com>
Date:    Wed Nov 22 22:34:44 2017 -0500

Check return value from call to devm_kzalloc() in order to prevent
a NULL pointer dereference.

This issue was detected with the help of Coccinelle.

Fixes: 4a5f8ae50b66 ("[media] davinci: vpif_capture: get subdevs from DT when available")

Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>


Thank you, Hans and Mauro for reviewing my patches.

I wonder if the following patch managed to resolved the use-after-free bug:

https://patchwork.linuxtv.org/patch/45391/

Thanks!
--
Gustavo A. R. Silva




Reply via email to