mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-23 17:57:45 +02:00
Ext4Pkg: Fixes double-free in Ext4ReadSymlink
The SymlinkTmp was deallocated unconditionally, so we shouldn't free it again on EFI_ERROR Cc: Marvin Häuser <mhaeuser@posteo.de> Cc: Pedro Falcato <pedro.falcato@gmail.com> Cc: Vitaly Cheptsov <vit9696@protonmail.com> Fixes: e81432fbacb7 ("Ext4Pkg: Add symbolic links support") Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
This commit is contained in:
parent
d24fd429be
commit
ff3d00d4d4
@ -243,7 +243,6 @@ Ext4ReadSymlink (
|
||||
Status
|
||||
));
|
||||
FreePool (Symlink16Tmp);
|
||||
FreePool (SymlinkTmp);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user