diff options
author | Insu Yun <wuninsu@gmail.com> | 2015-12-29 19:53:35 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-01 10:41:37 +0100 |
commit | f8433226d1b3eb035693724dca786c4445221368 (patch) | |
tree | f4ea32dbd8475c3b9ad7580e358ccd2452661fc1 /drivers/media/usb/usbtv/usbtv-video.c | |
parent | [media] hdpvr: Refactoring for hdpvr_read() (diff) | |
download | linux-f8433226d1b3eb035693724dca786c4445221368.tar.xz linux-f8433226d1b3eb035693724dca786c4445221368.zip |
[media] cx231xx: correctly handling failed allocation
Since kmalloc can be failed in memory pressure,
if not properly handled, NULL dereference can be happend
Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/usbtv/usbtv-video.c')
0 files changed, 0 insertions, 0 deletions