-
Couldn't load subscription status.
- Fork 21
Open
Description
The sample code is WRONG.
Status = gBS->InstallConfigurationTable (
&gEfiNetworkInterfaceIdentifierProtocolGuid_31,
&UndiConfigTable
);The & in &UndiConfigTable is wrong. The result is that the installed pointer points at the stack (the location of the UndiConfigTable pointer), not the allocation (the memory that UndiConfigTable references). There is no compiler error or warning for this problem.
When people use this code as their sample, they're likely to make a mistake that wastes a lot of time to debug.
Metadata
Metadata
Assignees
Labels
No labels