]> git.sur5r.net Git - u-boot/commit
efi_loader: efi_gop: check calloc return value
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 26 Oct 2017 17:25:45 +0000 (19:25 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Dec 2017 12:22:56 +0000 (13:22 +0100)
commit753edb131a856267ca06598be0697163dbe58a49
treee9ee57fcb5ad20a8a16e179a8939f426f7a5f504
parent843ce54c7470c58fa7251ad07abeed67b4fc56c4
efi_loader: efi_gop: check calloc return value

Calloc may return NULL. We have to check the return value.

Fixes: be8d324191f efi_loader: Add GOP support
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_gop.c