Re: [patch] PM / Hibernate: NULL dereferences on error paths

Bojan Smojver
2011-10-07T20:58:18Z

On Fri, 2011-10-07 at 16:24 +0300, Dan Carpenter wrote:
> These lines break if "data" is NULL.
> if (data[thr].thr)
> kthread_stop(data[thr].thr);

Thanks - good catch. I'm an idiot. Will fix.

This whole thing has been pulled for now, because Rafael got some panics
with it. I'm working on a new patch that will also produce a SHA1 of the
image, so that we know for sure we read in the right thing.

--
Bojan