]> git.karo-electronics.de Git - linux-beck.git/commit
V4L/DVB: TM6000: Fix code which cause memory corruption
authorBee Hock Goh <beehock@gmail.com>
Wed, 7 Apr 2010 23:57:19 +0000 (20:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:33 +0000 (12:57 -0300)
commitc16dd82b4858b4a01ccce5c0a56ba58993802700
tree8f1210b7031c73a28b077bf564ee09d18061ff04
parent4d1f413e820c7e1402475eea254e2bc82d98de35
V4L/DVB: TM6000: Fix code which cause memory corruption

The driver was doing malloc when buf is null causing memory corruption.

The analog part is still pretty much broken but at least fixing this
will stop it from crashing the machine when streamon.

Signed-off-by: Bee Hock Goh <beehock@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-video.c