summaryrefslogtreecommitdiffstats
path: root/samples/tracepoints
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-01-13 01:26:18 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2009-01-15 05:33:49 +0100
commit29b37f42127f7da511560a40ea74f5047da40c13 (patch)
treefa6cbeb329cc0d564511a3bd6f4d7172d468494b /samples/tracepoints
parentMerge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/po... (diff)
downloadlinux-29b37f42127f7da511560a40ea74f5047da40c13.tar.xz
linux-29b37f42127f7da511560a40ea74f5047da40c13.zip
crypto: authenc - Fix zero-length IV crash
As it is if an algorithm with a zero-length IV is used (e.g., NULL encryption) with authenc, authenc may generate an SG entry of length zero, which will trigger a BUG check in the hash layer. This patch fixes it by skipping the IV SG generation if the IV size is zero. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'samples/tracepoints')
0 files changed, 0 insertions, 0 deletions