]> git.baikalelectronics.ru Git - uboot.git/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)
commitffd0784c0c4cf14a269158690595ad078ac6483e
treee9ee57fcb5ad20a8a16e179a8939f426f7a5f504
parent9c3ddfdf534013dc27bbca2859504206eba37e61
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