Re: [PATCH 1/1] tty: Add NULL check to return value of kzalloc()

From: Greg Kroah-Hartman
Date: Mon Oct 28 2013 - 11:18:47 EST


On Mon, Oct 28, 2013 at 01:27:52PM +0800, RUC_SoftSec wrote:
> Function kzalloc() may return a NULL pointer, it should be checked against NULL before used.
> This bug is found by a static analysis tool developed by RUC_SoftSec, supported by China.X.Orion.
>
> Signed-off-by: RUC_SoftSec <rucsoftsec@xxxxxxxxx>

I've already explained why I can not accept patches like this, consider
all of them that you sent now deleted from my inbox.

greg k-h
--
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/