diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2015-05-08 15:29:37 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-05-13 08:02:46 (GMT) |
commit | 8aa7fc35dabf261899525f3da29ea21a111b3707 (patch) | |
tree | 29befeb342765913d11a0168e5eeb540593f9071 /drivers/xen/xenfs | |
parent | e4fd75bc70c7dcb6007c50e9ac68978726d5da25 (diff) | |
download | linux-fsl-qoriq-8aa7fc35dabf261899525f3da29ea21a111b3707.tar.xz |
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.
Change-Id: I6c10ed15e9a456b87828ebb21cc1121c7041be7d
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/36122
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Tudor-Dan Ambarus <tudor.ambarus@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/xen/xenfs')
0 files changed, 0 insertions, 0 deletions