input: ist3xx: replace misused strncat with s(n)printf 65/103665/3 accepted/tizen/mobile/20161226.131349 submit/tizen/20161226.020800
authorAndi Shyti <andi.shyti@samsung.com>
Wed, 7 Dec 2016 07:52:25 +0000 (16:52 +0900)
committerAndi Shyti <andi.shyti@samsung.com>
Tue, 20 Dec 2016 03:43:48 +0000 (19:43 -0800)
commit81925d0112892cde7418c9b6f9868ca8c7fa181f
treed2a0a54f40d44e4e3d00a33f838b57b819e15d34
parent8bcdea451b4672e3fa31accd9c401231d65f6124
input: ist3xx: replace misused strncat with s(n)printf

strncat is used improperly exposing the driver to a buffer
overflow risk.

Use s(n)printf instead.

An implicit result of this patch is some code simplification.

Change-Id: I7dfb61addf015362fed1a4ebd595ac533a012a48
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
drivers/input/touchscreen/imagis_30xxc/ist30xxc_sec.c
drivers/input/touchscreen/imagis_30xxc/ist30xxc_update.c
drivers/input/touchscreen/ist30xx/ist30xx_sec.c
drivers/input/touchscreen/ist30xx/ist30xx_update.c
drivers/input/touchscreen/ist30xxa/ist30xx_sec.c
drivers/input/touchscreen/ist30xxa/ist30xx_update.c
drivers/input/touchscreen/ist30xxb/ist30xxb_sec.c
drivers/input/touchscreen/ist30xxb/ist30xxb_update.c
drivers/input/touchscreen/ist30xxc/ist30xxc_sec.c
drivers/input/touchscreen/ist30xxc/ist30xxc_update.c