]> Git Repo - linux.git/commit
isdn: mISDN: Fix potential NULL pointer dereference of kzalloc
authorAditya Pakki <[email protected]>
Sat, 2 Mar 2019 21:20:43 +0000 (15:20 -0600)
committerDavid S. Miller <[email protected]>
Mon, 4 Mar 2019 18:54:48 +0000 (10:54 -0800)
commit38d22659803a033b1b66cd2624c33570c0dde77d
tree15a363c12bb76a8b0c1897dfce0e0b6d61a7f756
parent72d8b4fdbfb6192cec1ce25c46020fb48b62fa1e
isdn: mISDN: Fix potential NULL pointer dereference of kzalloc

Allocating memory via kzalloc for phi may fail and causes a
NULL pointer dereference. This patch avoids such a scenario.

Signed-off-by: Aditya Pakki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/isdn/hardware/mISDN/hfcsusb.c
This page took 0.055725 seconds and 4 git commands to generate.