V4L/DVB (13017): gspca: kmalloc failure ignored in sd_start()
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 18 Sep 2009 23:33:27 +0000 (20:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:53:30 +0000 (00:53 -0300)
commitd8370f7eff14ef646ba4a81eb9642800518a7324
tree6196ca523261e6e08821e8b0d3c630c10a52ee93
parent8d04df4997b530d978d48a66655a99714af197ca
V4L/DVB (13017): gspca: kmalloc failure ignored in sd_start()

Prevent NULL dereference if kmalloc() fails.

Cc: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/jeilinj.c