]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
acpi: check for pxm_to_node_map overflow
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 4 Mar 2009 19:55:29 +0000 (11:55 -0800)
committerLen Brown <len.brown@intel.com>
Mon, 16 Mar 2009 04:35:30 +0000 (00:35 -0400)
commit27ce34198345886854643b9572f9a06d2e7500d2
treebebe7fab5eb94e8a819ac8f0d7dff08c7644b355
parent176f9c1804df09f3e9b998c0642e212592ac6283
acpi: check for pxm_to_node_map overflow

It is hardly (if ever) possible but in case of broken _PXM entry we could
reach out of pxm_to_node_map array bounds in acpi_map_pxm_to_node() call.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/numa.c