[U-Boot] [PATCH v4] efi_loader: fix off-by-one bug in efi_get_variable

Heinrich Schuchardt xypron.glpk at gmx.de
Sat May 12 01:02:21 UTC 2018


On 05/11/2018 10:18 PM, Ivan Gorinov wrote:
> efi_get_variable() always stores an extra zero byte after the output data.
> When the returned data size matches the output buffer size, the extra zero
> byte is stored past the end of the output buffer.
> 
> Signed-off-by: Ivan Gorinov <ivan.gorinov at intel.com>

Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>


More information about the U-Boot mailing list