Skip to content
Commit 38d22659 authored by Aditya Pakki's avatar Aditya Pakki Committed by David S. Miller
Browse files

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: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 72d8b4fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment