linux_dsm_epyc7002/drivers/s390/crypto
Heiko Carstens 0648f5659e [S390] zcrypt: add sanity check before copy_from_user()
It's not obvious that copy_from_user() is called with a sane length
parameter here. Even though it currently seems to be correct better
add a check to prevent stack corruption / exploits.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-01-13 20:44:46 +01:00
..
ap_bus.c [S390] zcrypt: Do not simultaneously schedule hrtimer 2009-12-07 12:51:36 +01:00
ap_bus.h [S390] zcrypt: add support for cex3 device types 2009-12-07 12:51:35 +01:00
Makefile
zcrypt_api.c [S390] zcrypt: add sanity check before copy_from_user() 2010-01-13 20:44:46 +01:00
zcrypt_api.h [S390] zcrypt: use definitions for cex3 2009-12-07 12:51:35 +01:00
zcrypt_cca_key.h [S390] zcrypt: Comments and kernel-doc cleanup 2008-04-17 07:47:06 +02:00
zcrypt_cex2a.c [S390] zcrypt: adjust speed rating of cex3 adapters 2009-12-07 12:51:36 +01:00
zcrypt_cex2a.h
zcrypt_error.h [S390] Cleanup zcrypt printk messages. 2008-07-14 10:02:19 +02:00
zcrypt_mono.c
zcrypt_pcica.c [S390] zcrypt: initialize ap_messages for cex3 exploitation 2009-12-07 12:51:35 +01:00
zcrypt_pcica.h
zcrypt_pcicc.c [S390] zcrypt: initialize ap_messages for cex3 exploitation 2009-12-07 12:51:35 +01:00
zcrypt_pcicc.h
zcrypt_pcixcc.c [S390] zcrypt: adjust speed rating of cex3 adapters 2009-12-07 12:51:36 +01:00
zcrypt_pcixcc.h