summaryrefslogtreecommitdiff
path: root/tools/power
diff options
context:
space:
mode:
authortangchen <tangchen@cn.fujitsu.com>2014-01-06 12:43:54 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-06 15:33:05 +0400
commitde2d1a7e9310c4d1464faf469c737f08b5608600 (patch)
treeae884687c79a68cd9ed28f01813402ba6f5dbe16 /tools/power
parent6a368751d54ed80e6ba868c29a04ad5118fe104b (diff)
downloadlinux-de2d1a7e9310c4d1464faf469c737f08b5608600.tar.xz
ACPI / tables: Check if id is NULL in acpi_table_parse()
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>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions