Messages in this thread | | | Date | Fri, 2 Jan 2009 10:23:30 +0100 | From | Ingo Molnar <> | Subject | Re: [patch 3/3] acpi: check for pxm_to_node_map overflow |
| |
* Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> 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. Lets check it > (it's not that expensive and safe). > > Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> > CC: Len Brown <lenb@kernel.org> > --- > drivers/acpi/numa.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
just curious - how did you find this - code review or some tool help like Sparse output or a compiler warning?
Ingo
| |