V4L/DVB: cx231xx: card->driver "Conexant cx231xx Audio" too long
authorDan Carpenter <error27@gmail.com>
Mon, 22 Mar 2010 15:39:09 +0000 (12:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:51:17 +0000 (00:51 -0300)
commit935539c97ed5f4f46867e7f44e42ad2048403f4e
treeeddb94544938742bd24336b709e77b969b3b6db8
parentf2466d63a51db8244d3e78a4e6210d72a8930cfb
V4L/DVB: cx231xx: card->driver "Conexant cx231xx Audio" too long

card->driver is 15 characters and a NULL, the original code could
cause a buffer overflow.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-audio.c