Re: [PATCH] kexec-tools, ppc64: Fix segfault parsing DR memory property

2010-05-11 Thread Michael Neuling
In message <4be9102c.6040...@axio.ms> you wrote: > > add_dyn_reconf_usable_mem_property() iterates over memory spans > in /ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory and intersects > these with usablemem_rgns ranges. Not only did it seem to write > null properties for every range tha

[PATCH] kexec-tools, ppc64: Fix segfault parsing DR memory property

2010-05-11 Thread Matt Evans
add_dyn_reconf_usable_mem_property() iterates over memory spans in /ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory and intersects these with usablemem_rgns ranges. Not only did it seem to write null properties for every range that didn't match, but it used an unchecked fixed-size array whi