]> git.baikalelectronics.ru Git - uboot.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)
commit9883b3b7f5b6467ad1546e47711f4fdb02ba1064
treef048d58c1cac9c26d824631c94d50c94de64bf63
parent741249554e0fea8fd52d253281b6918682087638
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