[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160104.171604.1609827563372626339.davem@davemloft.net>
Date: Mon, 04 Jan 2016 17:16:04 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: wuninsu@...il.com
Cc: isdn@...ux-pingi.de, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, taesoo@...ech.edu,
yeongjin.jang@...ech.edu, insu@...ech.edu, changwoo@...ech.edu
Subject: Re: [PATCH] mISDN: correctly handling failed allocation
From: Insu Yun <wuninsu@...il.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@...il.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists