OSDN Git Service

thermal: use strlcpy instead of strcpy
authorEduardo Valentin <eduardo.valentin@ti.com>
Tue, 23 Apr 2013 21:48:12 +0000 (21:48 +0000)
committerZhang Rui <rui.zhang@intel.com>
Wed, 24 Apr 2013 16:56:07 +0000 (00:56 +0800)
commitc7a8b9d91642cb858862de613652aad5d21632be
tree6e12ebe7c275762e2104f5511472a53aa2a0e77f
parent335553ce40f0e551383482ad6b0b0eba87f4f218
thermal: use strlcpy instead of strcpy

For memory boundaries safety, use strlcpy instead of strcpy.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c