[U-Boot] [PATCH 1/1] net: core: avoid possible NULL pointer dereference
Joe Hershberger
joe.hershberger at ni.com
Tue May 30 16:59:58 UTC 2017
On Mon, May 15, 2017 at 10:07 PM, Heinrich Schuchardt
<xypron.glpk at gmx.de> wrote:
> Checking if dev is NULL after dereferencing it does not make sense.
Yes, it was incorrect, but fortunately it was never used for anything,
so even though it's garbage if the dev is NULL, at least we didn't use
it for anything in that case.
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
Acked-by: Joe Hershberger <joe.hershberger at ni.com>
More information about the U-Boot
mailing list