Re: [PATCH] kexec-tools, ppc64: Fix segfault on parsing of large device trees.

2010-05-09 Thread Michael Neuling
In message <4be78e06.6080...@ozlabs.org> you wrote: > > ppc64's fs2dt used to use a fixed-size array into which the device tree > was parsed. There was no bounds checking, so with a large device tree other > heap data ended up getting stomped -- SIGSEGV time. > > This patch adds a function, 'd

Re: [PATCH] kexec-tools, ppc64: Fix segfault on parsing of large device trees.

2010-05-10 Thread Simon Horman
On Mon, May 10, 2010 at 02:55:03PM +1000, Michael Neuling wrote: > > > In message <4be78e06.6080...@ozlabs.org> you wrote: > > > > ppc64's fs2dt used to use a fixed-size array into which the device tree > > was parsed. There was no bounds checking, so with a large device tree other > > heap dat