On Mon, Jan 26, 2015 at 05:39:27AM +0100, Stephan Mueller wrote: > > But does it really matter if we consider size == 0 or != at this point? In > case size == 0, the len calculation before the inner while loop will return 0. Of course it matters because you may die due to the aead_writable check. Cheers, -- 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