commit | bde9079f3cd5e4275be2169cf7b0c74bfb464f78 | [log] [tgz] |
---|---|---|
author | Horia Geant? <horia.geanta@freescale.com> | Tue May 12 11:28:05 2015 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed May 13 10:31:57 2015 +0800 |
tree | 2c38b268854c68c6f524350f788b3847f0d804b7 | |
parent | 69d9cd8c592f1abce820dbce7181bbbf6812cfbd [diff] |
crypto: talitos - avoid out of bound scatterlist iterator Check return value of scatterlist_sg_next(), i.e. don't rely solely on number of bytes to be processed or number of scatterlist entries. Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>