mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-12 09:04:37 +02:00
wpa_supplicant: Bugfix wps coverity forward null pointer issue
This commit is contained in:
@@ -624,7 +624,7 @@ int wps_process_wps_mX_req(u8 *ubuf, int len, enum wps_process_res *res)
|
||||
wps_enrollee_process_msg(sm->wps, expd->opcode, wps_buf);
|
||||
}
|
||||
|
||||
if (*res == WPS_FAILURE) {
|
||||
if (res && *res == WPS_FAILURE) {
|
||||
sm->state = WPA_FAIL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user