Messages in this thread | | | Date | Fri, 27 Mar 2009 13:04:25 +0800 | From | Herbert Xu <> | 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@hq.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@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |