mirror of https://github.com/acidanthera/audk.git
Set Root=NULL if some error code is returned from OpenVolume() interface of EfiSimpleFileSystem Protocol. The implementation of that interface does not necessarily set the output parameter of Root NULL if error code is returned.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6085 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1536925933
commit
1d5df82280
|
@ -1014,6 +1014,7 @@ BdsLibGetImageHeader (
|
|||
&Root
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
Root = NULL;
|
||||
goto Done;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue