git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ebfd31
)
s390/vmlogrdr: fix array access in vmlogrdr_open()
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Mon, 14 Oct 2013 12:26:08 +0000
(14:26 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Tue, 15 Oct 2013 11:47:59 +0000
(13:47 +0200)
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 <wein@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
No differences found