linux/arch/arm/mach-omap2
Maninder Singh 5066d5296f ARM: omap2+: fixing wrong strcat for Non-NULL terminated string
Issue caught with static analysis tool:
"Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)"

Use strlcpy _includes_ the NUL terminator, and  strlcat() which ensures
that it won't overflow the buffer.

Reported-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Vaneet Narang <v.narang@samsung.com>
CC: Russell King <linux@armlinux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2016-12-27 10:05:47 -08:00
..
2016-06-10 04:14:37 -07:00
2016-12-15 15:39:02 -08:00
2016-11-10 12:42:49 -07:00
2015-07-16 00:06:05 -07:00
2016-11-10 12:42:49 -07:00
2015-07-20 10:52:36 -07:00
2016-11-10 09:01:33 -07:00
2016-06-10 04:17:07 -07:00
2016-05-18 12:35:46 -07:00
2015-10-12 10:56:36 -07:00