linux/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 [S390] zcrypt driver Makefile, Kconfig and monolithic build. 2006-09-20 15:58:34 +02:00
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 [S390] zcrypt secure key cryptography extension. 2006-09-20 15:58:36 +02:00
zcrypt_error.h [S390] Cleanup zcrypt printk messages. 2008-07-14 10:02:19 +02:00
zcrypt_mono.c [S390] zcrypt: make init/exit functions static. 2007-10-12 16:13:03 +02:00
zcrypt_pcica.c [S390] zcrypt: initialize ap_messages for cex3 exploitation 2009-12-07 12:51:35 +01:00
zcrypt_pcica.h [S390] zcrypt secure key cryptography extension. 2006-09-20 15:58:36 +02:00
zcrypt_pcicc.c [S390] zcrypt: initialize ap_messages for cex3 exploitation 2009-12-07 12:51:35 +01:00
zcrypt_pcicc.h [S390] zcrypt secure key cryptography extension. 2006-09-20 15:58:36 +02:00
zcrypt_pcixcc.c [S390] zcrypt: adjust speed rating of cex3 adapters 2009-12-07 12:51:36 +01:00
zcrypt_pcixcc.h [S390] zcrypt: remove duplicated struct CPRBX definition 2007-10-12 16:13:04 +02:00