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

VanGoghBoard/FspsWrapperPeim: Prevent null pointer dereference #216

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

makubacki
Copy link
Member

Return from FspsWrapperInitDispatchMode() if a buffer allocation fails instead of attempting to dereference the pointer.


Note: This is bringing a change going into the original edk2 file here into this forked copy of the module.

Return from FspsWrapperInitDispatchMode() if a buffer allocation
fails instead of attempting to dereference the pointer.

Signed-off-by: Michael Kubacki <[email protected]>
@makubacki makubacki force-pushed the intelfsp2wrapper_codeql branch from 90a20c3 to 818c497 Compare January 16, 2025 20:40
@makubacki
Copy link
Member Author

@abdattar, @changab, @exinghr, @pbgrimes I noticed this PR has set stale for a while. The equivalent edk2 PR (tianocore/edk2#6250) is now merged and I've rebased this one for review.

Copy link
Contributor

@abdattar abdattar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes looks good.

Copy link

@exinghr exinghr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the code improvement

@makubacki
Copy link
Member Author

Thanks for the reviews. Please merge when you're ready.

@makubacki
Copy link
Member Author

@exinghr & @abdattar, reminder to please merge.

@makubacki makubacki merged commit 0b80c29 into tianocore:master Jan 28, 2025
1 check passed
@makubacki
Copy link
Member Author

@exinghr & @abdattar, reminder to please merge.

Went ahead and merged given the approvals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants