Re: [PATCH] mISDN: Fix null pointer dereference at mISDN_FsmNew

2017-08-11 Thread David Miller
From: Anton Vasilyev Date: Fri, 11 Aug 2017 15:57:22 +0300 > 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 Linu

Re: [PATCH] mISDN: Fix null pointer dereference at mISDN_FsmNew

2017-08-11 Thread isdn
Hi Anton, good spot, thanks. Dave please apply. Karsten Am 11.08.2017 um 14:57 schrieb Anton Vasilyev: > 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 > cor

[PATCH] mISDN: Fix null pointer dereference at mISDN_FsmNew

2017-08-11 Thread Anton Vasilyev
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 Vasil