mirror of
https://github.com/rhboot/gnu-efi
synced 2026-08-26 00:26:04 -04:00
Undefined Status in LibGetVariableAndSize()
GrowBuffer() expects that parameter Status is initialized. LibGetVariableAndSize() currently passes random data from the stack. Initialize variable Status. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
59fd1e9d1d
commit
dfdcd7eff3
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ LibGetVariableAndSize (
|
|||
OUT UINTN *VarSize
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
EFI_STATUS Status = EFI_SUCCESS;
|
||||
VOID *Buffer;
|
||||
UINTN BufferSize;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue