Skip to content
Commit 54a6a043 authored by Anton Vasilyev's avatar Anton Vasilyev Committed by David S. Miller
Browse files

mISDN: Fix null pointer dereference at mISDN_FsmNew



If mISDN_FsmNew() fails to allocate memory for jumpmatrix
then null pointer dereference will occur on any write to
jumpmatrix.

The patch adds check on successful allocation and
corresponding error handling.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarAnton Vasilyev <vasilyev@ispras.ru>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bb3afda4
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