sis: strcpy() => strlcpy()
authorDan Carpenter <error27@gmail.com>
Mon, 24 May 2010 21:33:53 +0000 (14:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:07:08 +0000 (08:07 -0700)
commitdbd536bf2f1b494240b56035ee16eba2e3d89b6a
treee34e02565a58ede4a25e270768775ae2899e819b
parentfbd65e0ecdeffe5e50ad850fb7240888b1af6b22
sis: strcpy() => strlcpy()

These are different size buffers (40 chars vs 16), we may as well be
cautious.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/sis/sis_main.c