Re: [PATCH] [media] davinci: vpif_capture: fix potential NULL deref

2017-07-11 Thread Sakari Ailus
On Tue, Jul 11, 2017 at 12:07:52PM -0700, Kevin Hilman wrote: > Fix potential NULL pointer dereference in the error path of memory > allocation failure. > > Reported-by: Dan Carpenter > Signed-off-by: Kevin Hilman Acked-by: Sakari Ailus

[PATCH] [media] davinci: vpif_capture: fix potential NULL deref

2017-07-11 Thread Kevin Hilman
Fix potential NULL pointer dereference in the error path of memory allocation failure. Reported-by: Dan Carpenter Signed-off-by: Kevin Hilman --- drivers/media/platform/davinci/vpif_capture.c | 10 ++ 1 file changed, 6 insertions(+), 4