[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201412022151.05517.PeterHuewe@gmx.de>
Date: Tue, 2 Dec 2014 21:51:05 +0100
From: Peter Hüwe <PeterHuewe@....de>
To: Kiran Padwal <kiran.padwal@...rtplayin.com>
Cc: ashley@...leylai.com, tpmdd@...horst.net,
tpmdd-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
kiran.padwal21@...il.com
Subject: Re: [PATCH] char: tpm: Add missing error check for devm_kzalloc
Am Freitag, 19. September 2014, 09:14:39 schrieb Kiran Padwal:
> Currently these driver are missing a check on the return value of
> devm_kzalloc, which would cause a NULL pointer dereference in a OOM
> situation.
>
> This patch adds a missing check for tpm_i2c_atmel.c and tpm_i2c_nuvoton.c
>
> Signed-off-by: Kiran Padwal <kiran.padwal@...rtplayin.com>
Applied to my tree:
https://github.com/PeterHuewe/linux-tpmdd for-james
Will be included in the next pull-request.
Thanks,
Peter
--
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