Skip to content

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]

@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.

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.
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