commit | 54a6a043fb8580d5a741774669ef6049f402f228 | [log] [tgz] |
---|---|---|
author | Anton Vasilyev <vasilyev@ispras.ru> | Fri Aug 11 15:57:22 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 11 14:56:23 2017 -0700 |
tree | 9632f50edc83f47ea18ef6011af1cafec141dc8b | |
parent | bb3afda4fc4ea690ff92a36eef4c0afe4d19da04 [diff] |
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: Anton Vasilyev <vasilyev@ispras.ru> Signed-off-by: David S. Miller <davem@davemloft.net>