x86, e820: Guard against array overflowed in __e820_add_region()
authorCyrill Gorcunov <gorcunov@openvz.org>
Mon, 24 Aug 2009 17:53:37 +0000 (21:53 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Aug 2009 06:17:47 +0000 (08:17 +0200)
commit5051fd69773d2d044734b78516317a04d3774871
tree68b75b31a5803cdc333dbb1d9883e9c29b3b1784
parent2495fbf7effa6868f5d74124ae9b22a57980755b
x86, e820: Guard against array overflowed in __e820_add_region()

Better to be paranoid against unpredicted nr_map modifications.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <20090824175551.146070377@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820.c