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

Bojan Smojver
2011-10-08T10:25:29Z

On Sat, 2011-10-08 at 07:58 +1100, Bojan Smojver wrote:
> 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.

Actually, even with threads, SHA1 is just too slow (and it obviously
cannot be done in parallel). So, I'll probably just use CRC32, because
we are not after security here - we only want to be reasonably sure that
what we read in is valid.

--
Bojan