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:
6a36875
)
ACPI / tables: Check if id is NULL in acpi_table_parse()
author
tangchen
<tangchen@cn.fujitsu.com>
Mon, 6 Jan 2014 08:43:54 +0000
(16:43 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 6 Jan 2014 11:33:05 +0000
(12:33 +0100)
strncmp() does not check if the params are NULL. In acpi_table_parse(),
if @id is NULL, the kernel will panic.
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
No differences found