OSDN Git Service

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)
committerWilly Tarreau <w@1wt.eu>
Sun, 19 Oct 2008 21:11:40 +0000 (23:11 +0200)
commit1f4142d8789d22527cc140f03f9cc8f6f8caa117
treead7c0118dbba568d4a8933c86546afce39b4a8f0
parentead60d38671fb5a0aa5e4f04dbc61736f2d9461f
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>
[2.6 commit: 5ba2f67afb02c5302b2898949ed6fc3b3d37dcf1]
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/media/video/tvaudio.c