mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
EAP-AKA: Remove unnecessary dead increment
The pos pointer is not used after this now nor in future plans, so no need to increment the value. This remove a static analyzer warning about dead increment. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
62493dff1b
commit
28bfa29117
@ -151,7 +151,7 @@ static int eap_aka_ext_sim_req(struct eap_sm *sm, struct eap_aka_data *data)
|
||||
pos += os_snprintf(pos, end - pos, ":");
|
||||
pos += wpa_snprintf_hex(pos, end - pos, data->rand, EAP_AKA_RAND_LEN);
|
||||
pos += os_snprintf(pos, end - pos, ":");
|
||||
pos += wpa_snprintf_hex(pos, end - pos, data->autn, EAP_AKA_AUTN_LEN);
|
||||
wpa_snprintf_hex(pos, end - pos, data->autn, EAP_AKA_AUTN_LEN);
|
||||
|
||||
eap_sm_request_sim(sm, req);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user