]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite759fd76ae8456b9fd2d3215eb58bf96daea54bc
treeb6bccab9d53fdea4884326f7baf9827eb8537990
parenta2181ff35f192b7fc6bb0e1f0856ee6eeb98e6e8
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