eap-sim: Prevent infinite loop if version list contains more than one entry
Fixes: ac4dd5439b ("Migrated EAP-SIM to libsimaka, separated server/peer implementations")
This commit is contained in:
@@ -180,6 +180,7 @@ static status_t process_start(private_eap_sim_peer_t *this,
|
||||
supported = TRUE;
|
||||
break;
|
||||
}
|
||||
data = chunk_skip(data, version.len);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user