-
Notifications
You must be signed in to change notification settings - Fork 3k
Revert broken codeql changes #11849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Revert broken codeql changes #11849
Conversation
This reverts commit 6d4fbc0. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This reverts commit 1097edb. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This reverts commit 2fd6884. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This reverts commit 901c4e3. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This reverts commit 8c92e6e. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This reverts commit 5214f93. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
| if (PlatformDefaultBootOptionValid && PcdGetBool (PcdPlatformRecoverySupport)) { | ||
| LoadOptions = EfiBootManagerGetLoadOptions (&LoadOptionCount, LoadOptionTypePlatformRecovery); | ||
| if ((LoadOptions != NULL) && (EfiBootManagerFindLoadOption (&PlatformDefaultBootOption, LoadOptions, LoadOptionCount) == -1)) { | ||
| if (EfiBootManagerFindLoadOption (&PlatformDefaultBootOption, LoadOptions, LoadOptionCount) == -1) { |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
| ProcessLoadOptions (LoadOptions, LoadOptionCount); | ||
| EfiBootManagerFreeLoadOptions (LoadOptions, LoadOptionCount); | ||
| } | ||
| ProcessLoadOptions (LoadOptions, LoadOptionCount); |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
| ProcessLoadOptions (LoadOptions, LoadOptionCount); | ||
| EfiBootManagerFreeLoadOptions (LoadOptions, LoadOptionCount); | ||
| } | ||
| ProcessLoadOptions (LoadOptions, LoadOptionCount); |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
| if (PreviousMenuOption != NULL) { | ||
| *SkipValue = PreviousMenuOption->Skip - Rows; | ||
| } | ||
| *SkipValue = PreviousMenuOption->Skip - Rows; |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
| RefreshKeyHelp (gFormData, SavedMenuOption->ThisTag, FALSE); | ||
| } | ||
|
|
||
| RefreshKeyHelp (gFormData, SavedMenuOption->ThisTag, FALSE); |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
| CurrentExpression->TimeOut = ((EFI_IFR_WARNING_IF *)OpCodeData)->TimeOut; | ||
| CurrentExpression->Type = EFI_HII_EXPRESSION_WARNING_IF; | ||
| if (ParentStatement != NULL) { | ||
| InsertTailList (&ParentStatement->WarningListHead, &CurrentExpression->Link); |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
| if (ParentStatement != NULL) { | ||
| InsertTailList (&ParentStatement->NestStatementList, &DisplayStatement->DisplayLink); | ||
| } | ||
| InsertTailList (&ParentStatement->NestStatementList, &DisplayStatement->DisplayLink); |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
| } | ||
|
|
||
| NextElementBakup = NextRequestElement; | ||
| NextRequestElement = StrStr (RequestElement, ValueKey); |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
| // | ||
| // Replace "&" with '\0'. | ||
| // | ||
| *NextRequestElement = L'\0'; |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
| } else { | ||
| if (RespString && (Storage->Type == EFI_HII_VARSTORE_EFI_VARIABLE_BUFFER)) { | ||
| NextElementBakup = NextRequestElement; | ||
| NextRequestElement = StrStr (RequestElement, ValueKey); |
Check failure
Code scanning / CodeQL
Returned pointer not checked High
|
PR can not be merged due to conflict. Please rebase and resubmit |
A recent series of CodeQL inspired patches introduced bugs and regressed the boot on some platforms.
Given that the author currently appears unavailable for addressing these issues, revert them so it can be revisited at a later time.