V4L/DVB (7330): V4L1 - fix v4l_compat_translate_ioctl possible NULL deref
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 5 Mar 2008 23:24:43 +0000 (20:24 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 20 Mar 2008 15:39:01 +0000 (12:39 -0300)
commitc77990e754af7443246f24ccb2336bbd62b01cc0
treeb6bccab9d53fdea4884326f7baf9827eb8537990
parent77596058e1c2ad95b566dfdc926611a8dd820ee0
V4L/DVB (7330): V4L1 - fix v4l_compat_translate_ioctl possible NULL deref

There are possible NULL pointer derefs in case of kzalloc fails so fix them.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/v4l1-compat.c