]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: efi_net: check return value of calloc
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 26 Oct 2017 17:25:47 +0000 (19:25 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Dec 2017 12:22:56 +0000 (13:22 +0100)
commitcb90ee97579daeacc3173d4c9694b53136a55981
treef048d58c1cac9c26d824631c94d50c94de64bf63
parent93945f2c65ff80290fc2af4f5c5d9bb52ff9ffa5
efi_loader: efi_net: check return value of calloc

Calloc may return NULL. So we must check the return value.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_net.c