[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180223095220.GK6245@saruman>
Date: Fri, 23 Feb 2018 09:52:21 +0000
From: James Hogan <jhogan@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: Ralf Baechle <ralf@...ux-mips.org>, linux-mips@...ux-mips.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] MIPS: ath25: check for kzalloc allocation failure
On Thu, Feb 22, 2018 at 05:50:12PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Currently there is no null check on a failed allocation of board_data,
> and hence a null pointer dereference will occurr. Fix this by checking
> for the out of memory null pointer.
>
> Fixes: a7473717483e ("MIPS: ath25: add board configuration detection")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied to my fixes branch with 3.19+ stable tag.
Thanks
James
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists