V4L/DVB: stv0900: dereference of state->internal in fe_stv0900_error stv0900_init_int...
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 29 Aug 2009 18:31:49 +0000 (15:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:50 +0000 (15:10 -0300)
commitfb3ab105a5ef43b03d2788e9b124c7c69112682f
tree7f2abc1370c9d899ac93d1f0f04377049e369f0c
parent6adb21c8719feef3b1629f5a9b5535e914f897ed
V4L/DVB: stv0900: dereference of state->internal in fe_stv0900_error stv0900_init_internal()

state->internal allocation may fail as well as the allocation of
stv0900_first_inode or new_node->next_inode in append_internal().

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stv0900_core.c