WSL2-Linux-Kernel/drivers/isdn/hardware/eicon
Dan Carpenter c101cff901 isdn: off by one in connect_res()
The bug here is that we use "Reject" as the index into the cau_t[] array
in the else path.  Since the cau_t[] has 9 elements if Reject == 9 then
we are reading beyond the end of the array.

My understanding of the code is that it's saying that if Reject is 1 or
too high then that's invalid and we should hang up.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-02 19:33:18 -08:00
..
Kconfig
Makefile
adapter.h
capi20.h
capidtmf.c
capidtmf.h
capifunc.c
capifunc.h
capimain.c
cardtype.h
cp_vers.h
dadapter.c
dadapter.h
debug.c
debug_if.h
debuglib.c
debuglib.h
dfifo.h
di.c
di.h
di_dbg.h
di_defs.h
did_vers.h
diddfunc.c
diva.c
diva.h
diva_didd.c
diva_dma.c
diva_dma.h
diva_pci.h
divacapi.h
divamnt.c
divasfunc.c
divasi.c
divasmain.c
divasproc.c
divasync.h
dqueue.c
dqueue.h
dsp_defs.h
dsp_tst.h
dspdids.h
dsrv4bri.h
dsrv_bri.h
dsrv_pri.h
entity.h
helpers.h
idifunc.c
io.c
io.h
istream.c
kst_ifc.h
maintidi.c
maintidi.h
man_defs.h
mdm_msg.h
message.c isdn: off by one in connect_res() 2015-02-02 19:33:18 -08:00
mi_pc.h
mntfunc.c
os_4bri.c
os_4bri.h
os_bri.c
os_bri.h
os_capi.h
os_pri.c
os_pri.h
pc.h
pc_init.h
pc_maint.h
pkmaint.h
platform.h
pr_pc.h
s_4bri.c
s_bri.c
s_pri.c
sdp_hdr.h
um_idi.c
um_idi.h
um_xdi.h
xdi_adapter.h
xdi_msg.h
xdi_vers.h