linux/drivers/isdn/capi
Dan Carpenter 25dff94ff9 isdn/kcapi: fix a small underflow
In get_capi_ctr_by_nr() and get_capi_appl_by_nr() the parameter comes
from skb->data.  The current code can underflow to one space before the
start of the array.

The sanity check isn't needed in __get_capi_appl_by_nr() but I changed
it to match the others.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-20 13:38:14 -07:00
..
capi.c TTY: add tty_port_tty_wakeup helper 2013-03-18 16:19:45 -07:00
capidrv.c driver: isdn: capi: remove cast for kmalloc return value 2013-03-12 11:40:54 -04:00
capidrv.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capilib.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capiutil.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
kcapi_proc.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
kcapi.c isdn/kcapi: fix a small underflow 2013-05-20 13:38:14 -07:00
kcapi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile