commit | 9784bd4f1a6ea736ad9bf241f5a965e0a2913a5e | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Mon Oct 14 14:26:08 2013 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue Oct 15 13:47:59 2013 +0200 |
tree | 8e738103f83aa9a6b40baf1ddfc66cbf43098a45 | |
parent | 0ebfd313fd4baf3fa1bd02d5f106e377595d4987 [diff] |
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 <wein@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>