diff options
| author | Heiko Carstens <[email protected]> | 2010-01-13 19:44:43 +0000 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2010-01-13 19:44:46 +0000 |
| commit | 0648f5659e2d51659bd8f42ff30f456775c3c12d (patch) | |
| tree | 1af4ccaa13998e773ff06969a8039ecc35e76785 /drivers/mtd/lpddr/lpddr_cmds.c | |
| parent | [S390] unwire sys_recvmmsg again (diff) | |
| download | kernel-0648f5659e2d51659bd8f42ff30f456775c3c12d.tar.gz kernel-0648f5659e2d51659bd8f42ff30f456775c3c12d.zip | |
[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 <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions
