[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090327050424.GB26198@gondor.apana.org.au>
Date: Fri, 27 Mar 2009 13:04:25 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Yehuda Sadeh <yehuda@...newdream.net>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] shash: fix unaligned calculation with short length
On Thu, Mar 26, 2009 at 02:12:21PM -0700, Yehuda Sadeh wrote:
> When the total length is shorter than the calculated number of unaligned bytes, the call to shash->update breaks. For example, calling crc32c on unaligned buffer with length of 1 can result in a system crash.
>
> Signed-off-by: Yehuda Sadeh <yehuda@...newdream.net>
Ouch! Thanks for fixing this! Applied to crpyto-2.6.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists