linux/drivers/message/fusion
Dan Carpenter e819cdb198 mptfusion: prevent some memory corruption
These are signed values the come from the user, we put a cap on the
upper bounds but not on the lower bounds.

We use "karg.dataSgeOffset" to calculate "sz".  We verify "sz" and
proceed as if that means that "karg.dataSgeOffset" is correct but this
fails to consider that the "sz" calculations can have integer overflows.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-08-26 07:11:45 -07:00
..
lsi
Kconfig
Makefile
mptbase.c fusion: remove dead MTRR code 2015-06-13 08:44:14 -07:00
mptbase.h fusion: remove dead MTRR code 2015-06-13 08:44:14 -07:00
mptctl.c mptfusion: prevent some memory corruption 2015-08-26 07:11:45 -07:00
mptctl.h
mptdebug.h
mptfc.c
mptlan.c
mptlan.h
mptsas.c
mptsas.h
mptscsih.c
mptscsih.h
mptspi.c