On Thu, Aug 05, 2010 at 12:05:49PM +0200, Szilveszter Ördög wrote: > If a scatterwalk chain contains an entry with an unaligned offset then > hash_walk_next() will cut off the next step at the next alignment point. > > However, if the entry ends before the next alignment point then we a loop, > which leads to a kernel oops. > > Fix this by checking whether the next aligment point is before the end of the > current entry. > > Signed-off-by: Szilveszter Ördög <slipszi@xxxxxxxxx> Patch applied to crypto-2.6. Thanks! -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html