git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b6fec
)
thermal: Exynos: Fix NULL pointer dereference in exynos_unregister_thermal()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 27 Sep 2012 10:50:38 +0000
(16:20 +0530)
committer
Zhang Rui
<rui.zhang@intel.com>
Fri, 28 Sep 2012 00:23:21 +0000
(08:23 +0800)
exynos_unregister_thermal() is functional only when 'th_zone' is not
NULL (ensured by the NULL checks). However, in the event it is NULL, it
gets dereferenced in the for loop. This patch fixes this issue.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
No differences found