kernel-ark/drivers/s390/char
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
..
con3215.c
con3270.c
ctrlchar.c
ctrlchar.h
defkeymap.c
defkeymap.map
fs3270.c s390: make various functions static, add declarations to header files 2013-09-07 11:58:03 +02:00
Kconfig
keyboard.c
keyboard.h
Makefile
monreader.c
monwriter.c
raw3270.c
raw3270.h
sclp_async.c
sclp_cmd.c s390/sclp: properly detect line mode console 2013-09-30 13:04:39 +02:00
sclp_con.c
sclp_config.c s390/sclp: reword cpu capability change message 2013-08-22 12:20:07 +02:00
sclp_cpi_sys.c
sclp_cpi_sys.h
sclp_cpi.c
sclp_ctl.c s390/sclp: remove duplicated include from sclp_ctl.c 2013-06-26 21:10:24 +02:00
sclp_ocf.c
sclp_quiesce.c
sclp_rw.c
sclp_rw.h
sclp_sdias.c
sclp_tty.c
sclp_tty.h
sclp_vt220.c
sclp.c s390/irq: rework irq subclass handling 2013-09-04 17:19:13 +02:00
sclp.h
tape_34xx.c
tape_3590.c
tape_3590.h
tape_char.c
tape_class.c s390/drivers: Cocci spatch "ptr_ret.spatch" 2013-06-26 21:10:22 +02:00
tape_class.h
tape_core.c
tape_proc.c
tape_std.c
tape_std.h
tape.h
tty3270.c s390/3270: fix return value check in tty3270_resize_work() 2013-09-30 13:04:38 +02:00
tty3270.h
vmcp.c
vmcp.h
vmlogrdr.c s390/vmlogrdr: fix array access in vmlogrdr_open() 2013-10-15 13:47:59 +02:00
vmur.c treewide: relase -> release 2013-06-28 14:34:33 +02:00
vmur.h
vmwatchdog.c s390/vmwatchdog: do not use static data 2013-06-26 21:10:29 +02:00
zcore.c s390/vmcore: use vmcore for zfcpdump 2013-09-11 15:59:15 -07:00