Files
android_kernel_xiaomi_sm8450/drivers/isdn/hardware/mISDN
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
..
2010-11-01 15:38:34 -04:00
2012-02-21 09:04:01 -08:00
2015-12-15 12:42:27 -05:00
2012-11-09 17:10:16 -05:00
2012-02-21 09:04:01 -08:00
2009-07-25 20:21:28 +02:00