mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/wps_coverity_fwd_null' into 'master'
wpa_supplicant: Bugfix wps coverity forward null pointer issue See merge request espressif/esp-idf!21848
This commit is contained in:
commit
623d384778
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user