summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2010-01-13 19:44:43 (GMT)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-01-13 19:44:46 (GMT)
commit0648f5659e2d51659bd8f42ff30f456775c3c12d (patch)
tree1af4ccaa13998e773ff06969a8039ecc35e76785 /samples
parent94e587f61ef5da3b4da40289cdb7e9a62d455313 (diff)
downloadlinux-0648f5659e2d51659bd8f42ff30f456775c3c12d.tar.xz
[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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions