]> git.baikalelectronics.ru Git - kernel.git/commit
security: avoid calling a NULL function pointer in drivers/video/tvaudio.c
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 11 Oct 2008 04:16:12 +0000 (21:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 11 Oct 2008 16:54:07 +0000 (09:54 -0700)
commit9fa062e0c4a773294fa8c73afdcf753890cf6892
treeaa8954769e1eeb0aac55181e698166beaa61f633
parent2759b2305574815df2fea6d6110dbc2e913b2441
security: avoid calling a NULL function pointer in drivers/video/tvaudio.c

NULL function pointers are very bad security wise. This one got caught by
kerneloops.org quite a few times, so it's happening in the field....

Fix is simple, check the function pointer for NULL, like 6 other places
in the same function are already doing.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/video/tvaudio.c