Skip to content
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

ArmPkg: CpuDxe: Fix Bad Cast #298

Merged
merged 1 commit into from
Oct 10, 2024
Merged

ArmPkg: CpuDxe: Fix Bad Cast #298

merged 1 commit into from
Oct 10, 2024

Conversation

os-d
Copy link
Contributor

@os-d os-d commented Oct 10, 2024

Description

When 2405 was done, the inexact order of rebasing caused an old commit 41c7073 to take precedence over a newer commit 38ba4a6.

This causes the upper attributes to be dropped, which in the case of an invalid entry, will send 0xFFFFFFFF to be set as attributes to set in the GCD, instead of signifying an INVALID_ENTRY, because (UINT32)INVALID_ENTRY != INVALID_ENTRY.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

On a platform where this was failing.

Integration Instructions

N/A.

When 2405 was done, the inexact order of rebasing caused an old
commit microsoft@41c7073
to take precedence over a newer commit microsoft@38ba4a6.

This causes the upper attributes to be dropped, which in the case of an
invalid entry, will send 0xFFFFFFFF to be set as attributes to set in the
GCD, instead of signifying an INVALID_ENTRY, because
(UINT32)INVALID_ENTRY != INVALID_ENTRY.

This needs to be squashed with microsoft@41c7073
on the next rebase.
@os-d os-d requested review from kuqin12 and apop5 October 10, 2024 18:01
@os-d os-d added the type:bug Something isn't working label Oct 10, 2024
@os-d os-d enabled auto-merge (rebase) October 10, 2024 18:02
@os-d os-d merged commit 0c99d2b into microsoft:release/202405 Oct 10, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants