Since kzalloc can be failed,
if not properly handled, NULL dereference could be happened.
Signed-off-by: Insu Yun
---
drivers/media/usb/usbtv/usbtv-video.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/media/usb/usbtv/usbtv-video.c
b/drivers/media/usb/usbtv/usbtv-video.c
Since kzalloc can be failed,
if not properly handled, NULL dereference could be happened.
Signed-off-by: Insu Yun
---
drivers/media/usb/usbtv/usbtv-video.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/media/usb/usbtv/usbtv-video.c
2 matches
Mail list logo