thewifi_ap_record_tstruct has been extended recently and just to be sure no member is left in an undefined state, we should zero the entire struct just as has been done in PR#10282 Suggested fix, to zero all of_scanResultright after this line: arduino-esp32/libraries/WiFi/src/WiFiScan....