android_kernel_samsung_msm8976/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
capidrv.c
capidrv.h
capilib.c
capiutil.c
kcapi.c isdn/kcapi: fix a small underflow 2013-05-20 13:38:14 -07:00
kcapi.h
kcapi_proc.c
Kconfig
Makefile