[media] drivers/media/pci/zoran: avoid fragile snprintf use
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 8 Mar 2016 20:40:51 +0000 (17:40 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 7 May 2016 13:27:07 +0000 (10:27 -0300)
commite57b36c0c46d7288d6d5bd602003b8fcd17efe3f
tree01f529695791ef148d2d18c571b0d29326d993a3
parent9c574ad4d360353ec8dd6bc85e78d8b2d0f8e775
[media] drivers/media/pci/zoran: avoid fragile snprintf use

Appending to a string by doing snprintf(buf, bufsize, "%s...", buf,
...) is not guaranteed to work.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/zoran/videocodec.c