Skip to content

Remove incorrect addressof from InstallConfigurationTable sample #6

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

idigdoug
Copy link

@idigdoug idigdoug commented Mar 5, 2025

InstallConfigurationTable takes a pointer to a GUID and a pointer to a buffer.

The sample passes the pointer to the pointer, which means the sample is wrong.

When developers use this sample as the starting point for their code, they will have a bug that is very tricky to see in their code and tricky to diagnose.

This issue wasted several hours of my time today.

This fixes issue #5

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Doug Cook [email protected]

InstallConfigurationTable takes a pointer to a GUID and a pointer to a
buffer.

The sample passes the pointer to the pointer, which means the sample is
wrong.

When developers use this sample as the starting point for their code,
they will have a bug that is very tricky to see in their code and tricky
to diagnose.

This issue wasted several hours of my time today.
@makubacki makubacki linked an issue Mar 5, 2025 that may be closed by this pull request
Copy link
Contributor

@mdkinney mdkinney left a comment

Choose a reason for hiding this comment

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

Commit message requires Signed-off-by and Contributed-under tags

See: https://github.com/tianocore-docs/edk2-TemplateSpecification/wiki/TianoCore-Documents-Commit-Message-Format

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.

InstallConfigurationTable sample is incorrect
3 participants