Re: [U-Boot] [PATCH 08/15] efi_loader: don't use unlimited stack as buffer

2018-08-26 Thread Alexander Graf
On 11.08.18 17:28, Heinrich Schuchardt wrote: > 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 Reviewed-by: Alexander Graf

[U-Boot] [PATCH 08/15] efi_loader: don't use unlimited stack as buffer

2018-08-11 Thread Heinrich Schuchardt
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 --- lib/efi_loader/efi_console.c | 20 +--- 1 file changed, 13 insertio