troubleshooter: address false positive (#454)

## Link to GitHub Issue, if one exists
#447

## Description of change
Allow GetAdaptersInfo to fail with ERROR_BUFFER_OVERFLOW.
This commit is contained in:
bicarus-dev
2025-12-16 16:47:02 -08:00
committed by GitHub
parent b0810558a7
commit 6d18d6a496
+1 -1
View File
@@ -68,7 +68,7 @@ static ULONG WINAPI GetAdaptersInfo_hook(PIP_ADAPTER_INFO pAdapterInfo, PULONG p
free(pAdapterInfo2); free(pAdapterInfo2);
} }
if (ret != ERROR_SUCCESS) { if (ret != ERROR_SUCCESS && ret != ERROR_BUFFER_OVERFLOW) {
defer_network_adapter_error(); defer_network_adapter_error();
log_warning( log_warning(
"network", "network",