]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: don't use unlimited stack as buffer
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 31 Aug 2018 19:31:32 +0000 (21:31 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:29 +0000 (21:55 +0200)
commitba7bd5c2baf4a375e1c3f23fe9ede503f6435147
tree1eca317ba8f1187c97548d7dcc20511503235dcd
parentdcdb64f7f578b914d1db976de30e80a0af909cd8
efi_loader: don't use unlimited stack as buffer

The length of a string printed to the console by the
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL is not limited by the UEFI spec.
Hence should not allocate a buffer for it on the stack.

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