summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-06 11:20:08 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-06 11:20:08 -0300
commit354ef895a4b1cfbfeeb15f4cee905b65ebfed738 (patch)
treeeaf056d22e21629a5a53d75dfc0968aeee0e828f /linux/drivers/media/dvb
parent70924af414b258c769a2ece2c64b7c9b14c18fc8 (diff)
downloadmediapointer-dvb-s2-354ef895a4b1cfbfeeb15f4cee905b65ebfed738.tar.gz
mediapointer-dvb-s2-354ef895a4b1cfbfeeb15f4cee905b65ebfed738.tar.bz2
Zoran strncpy() fix
From: Eric Sesterhenn <snakebyte@gmx.de> The zoran driver uses strncpy() in an unsafe way. This patch uses the proper sizeof()-1 size parameter. Since all strncpy() targets are initialised with memset() the trailing '\0' is already set. Where std->name was the target for the strncpy() we overwrote 8 Bytes of the std structure with zeros. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb')
0 files changed, 0 insertions, 0 deletions