On 13/07/18 09:59, Dmitry Timoshkov wrote:
Zebediah Figura z.figura12@gmail.com wrote:
expected_len -= min_sfti_len; smbios_table = HeapAlloc(GetProcessHeap(), 0, expected_len);
- len = GetSystemFirmwareTable(RSMB, 0, smbios_table, expected_len);
- len = pGetSystemFirmwareTable(RSMB, 0, smbios_table, expected_len);
I guess that an earlier call fails and the test is skipped but still it would be better to check the pGetSystemFirmwareTable for NULL.
Fair enough; I'll send an updated patch.