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
..
2010-01-11 09:34:06 -08:00
2009-12-24 11:07:09 +01:00
2009-12-15 08:53:34 -08:00
2009-12-12 13:08:15 +01:00
2010-01-11 09:34:06 -08:00
2009-12-15 08:53:25 -08:00
2009-12-23 19:53:04 +00:00