Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Forked from BeagleBoard.org / Linux
Loading
user avatar
Horia Geant? authored
commit 69d9cd8c upstream.

This reverts commit 7291a932.

The conversion to be16_add_cpu() is incorrect in case cryptlen is
negative due to premature (i.e. before addition / subtraction)
implicit conversion of cryptlen (int -> u16) leading to sign loss.

Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarHoria Geanta <horia.geanta@freescale.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
fd2db9b7
Name Last commit Last update