summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/capi/capidrv.c
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2014-10-11 13:46:30 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-14 15:05:34 -0400
commit5510ab18048397193ae073d6b0d4ea78ff0170f5 (patch)
tree1f78a2f37ba05126f902cd5be66c37414a4c6683 /drivers/isdn/capi/capidrv.c
parent854d23b77aa25b203c7af11de885c3b8b3834c20 (diff)
downloadlinux-5510ab18048397193ae073d6b0d4ea78ff0170f5.tar.gz
linux-5510ab18048397193ae073d6b0d4ea78ff0170f5.tar.bz2
linux-5510ab18048397193ae073d6b0d4ea78ff0170f5.zip
isdn/capi: prevent NULL pointer dereference on invalid CAPI command
An invalid CAPI 2.0 command/subcommand combination may retrieve a NULL pointer from the cpars[] array which will later be dereferenced by the parser routines. Fix by adding NULL pointer checks in strategic places. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/capi/capidrv.c')
0 files changed, 0 insertions, 0 deletions