remarkable-linux/drivers/tty/serial/jsm
Dan Carpenter a666b54ada serial: jsm: some off by one bugs
"brd->nasync" amd "brd->maxports" are the same.  They hold the number of
filled out channels in the brd->channels[] array.  These tests should
be ">=" instead of ">" so that we don't read one element past the end.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-26 23:00:36 +01:00
..
jsm.h serial: jsm: Fix unnecessary space before function ptr arguments 2014-11-25 17:06:38 -08:00
jsm_cls.c serial: jsm: some off by one bugs 2015-03-26 23:00:36 +01:00
jsm_driver.c drivers: serial: jsm: Remove FSF address from the file documentation/header 2014-11-06 15:18:27 -08:00
jsm_neo.c serial: jsm: some off by one bugs 2015-03-26 23:00:36 +01:00
jsm_tty.c serial: jsm: Remove unnecessary parameter from clear_break() 2014-11-25 17:06:38 -08:00
Makefile drivers: serial: jsm: Add the Classic board implementation 2014-11-06 15:17:34 -08:00