linux/drivers/isdn/hardware
Anton Protopopov e60b13e4f5 mISDN: prevent possible NULL pointer dereference
A return value of the bchannel_get_rxbuf() function is compared with the
positive ENOMEM value instead of the negative -ENOMEM value to detect a
memory allocation problem. Thus, after a possible memory allocation
failure the bc->bch.rx_skb will be NULL which will lead to a NULL
pointer dereference.

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-18 14:59:35 -05:00
..
avm Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
eicon isdn: off by one in connect_res() 2015-02-02 19:33:18 -08:00
mISDN mISDN: prevent possible NULL pointer dereference 2016-02-18 14:59:35 -05:00
Kconfig
Makefile Add mISDN driver 2008-07-27 01:46:33 +02:00