summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-08-07 22:36:45 -0700
committerZhang Rui <rui.zhang@intel.com>2012-09-24 14:44:38 +0800
commit204dd1d39c32f39a95bf7a7248f63b372fd137a6 (patch)
treead10d76c086ea993121e959aced2370c6b704f8d /.mailmap
parent1e426ffddf2f158367eb6c7b8eb563c814a43283 (diff)
thermal: Fix potential NULL pointer accesses
The type parameter in thermal_zone_device_register and thermal_cooling_device_register can be NULL, indicating that no sysfs attribute for the type should be created. Only call strlen() and strcpy() on type if it is not NULL. This patch addresses Coverity #102180 and #102182: Dereference before null check Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions