V4L/DVB (4994): Vivi: fix use after free in list_for_each()
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 20 Dec 2006 13:03:53 +0000 (10:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 27 Dec 2006 16:20:07 +0000 (14:20 -0200)
commit72f678c30185df18ac38ef14c9045d139c2263bc
tree1c9c159c925bea6af264f4497c6ee6334d94f911
parentb331daa03cd949b1b0a4b761b4b4a92d71f7d626
V4L/DVB (4994): Vivi: fix use after free in list_for_each()

Freeing data including list_head in list_for_each() is not safe.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/vivi.c