Re: [PATCH] ARCNET: Add missing error check for devm_kzalloc
From: David Miller
Date: Thu Feb 05 2015 - 18:53:53 EST
From: Kiran Padwal <kiran.padwal@xxxxxxxxxxxxxxx>
Date: Thu, 5 Feb 2015 17:01:37 +0530
> This patch add a missing check on the return value of devm_kzalloc,
> which would cause a NULL pointer dereference in a OOM situation.
>
> Signed-off-by: Kiran Padwal <kiran.padwal@xxxxxxxxxxxxxxx>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/