mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
Retrofit of commit 2b3d4a from master branch, fixing table overflow in ICE code.
This commit is contained in:
parent
9ffab5906b
commit
1cdc1ff07f
1 changed files with 1 additions and 1 deletions
|
|
@ -762,7 +762,7 @@ bool IceAgent::checkIceReinviteNeedsDeferedResponse(SalMediaDescription *md){
|
|||
|
||||
if (ice_check_list_state(cl) != ICL_Running) continue;
|
||||
|
||||
for (j = 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_CANDIDATES; j++) {
|
||||
for (j = 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_REMOTE_CANDIDATES; j++) {
|
||||
const SalIceRemoteCandidate *remote_candidate = &stream->ice_remote_candidates[j];
|
||||
if (remote_candidate->addr[0] != '\0') return true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue