diff options
| author | Heiko Carstens <[email protected]> | 2013-10-14 12:26:08 +0000 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2013-10-15 11:47:59 +0000 |
| commit | 9784bd4f1a6ea736ad9bf241f5a965e0a2913a5e (patch) | |
| tree | 8e738103f83aa9a6b40baf1ddfc66cbf43098a45 /security/selinux/hooks.c | |
| parent | s390/compat,signal: fix return value of copy_siginfo_(to|from)_user32() (diff) | |
| download | kernel-9784bd4f1a6ea736ad9bf241f5a965e0a2913a5e.tar.gz kernel-9784bd4f1a6ea736ad9bf241f5a965e0a2913a5e.zip | |
s390/vmlogrdr: fix array access in vmlogrdr_open()
Fix check within vmlogrdr_open() if the minor address is not larger
than the number of array elements.
Found with "smatch":
drivers/s390/char/vmlogrdr.c:318 vmlogrdr_open() warn:
buffer overflow 'sys_ser' 3 <= 3
Acked-by: Stefan Weinhuber <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
