linux-sg2042/drivers/s390
Heiko Carstens 9784bd4f1a 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>
2013-10-15 13:47:59 +02:00
..
block s390/dasd: check for availability of prefix command during format 2013-10-15 13:47:58 +02:00
char s390/vmlogrdr: fix array access in vmlogrdr_open() 2013-10-15 13:47:59 +02:00
cio s390/cio: fix unlocked access of global bitmap 2013-08-30 08:57:22 +02:00
crypto s390/ap_bus: use and-mask instead of a cast 2013-09-07 11:58:18 +02:00
kvm s390/irq: rework irq subclass handling 2013-09-04 17:19:13 +02:00
net s390: replace strict_strtoul() with kstrtoul() 2013-08-22 12:20:00 +02:00
scsi SCSI misc on 20130903 2013-09-03 15:48:06 -07:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00