Messages in this thread | | | Date | Mon, 04 Jan 2016 17:16:04 -0500 (EST) | Subject | Re: [PATCH] mISDN: correctly handling failed allocation | From | David Miller <> |
| |
From: Insu Yun <wuninsu@gmail.com> Date: Tue, 29 Dec 2015 16:38:46 -0500
> Since kzalloc can be failed in memory pressure, > NULL dereference might be happened. > > Signed-off-by: Insu Yun <wuninsu@gmail.com>
Sorry, this is not a correct fix.
You need to propagate an error back to the callers, and they must act upon that error.
| |