]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: efi_disk: check return value of calloc
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 26 Oct 2017 17:25:46 +0000 (19:25 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Dec 2017 12:22:56 +0000 (13:22 +0100)
commit741249554e0fea8fd52d253281b6918682087638
treec81220ba2eb5bd329f868a6719e884bf8be59f1b
parentffd0784c0c4cf14a269158690595ad078ac6483e
efi_loader: efi_disk: check return value of calloc

Calloc may return NULL. We should 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_disk.c