Opened 5 years ago

Closed 5 years ago

#2214 closed defect (fixed)

Check for PJ_ICE_ST_MAX_CAND when adding new ICE candidate

Reported by: riza Owned by: riza
Priority: normal Milestone: release-2.10
Component: pjnath Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

PJ_ICE_ST_MAX_CAND specify the maximum number of candidates for each ICE component.
Currently if the number of candidates has reached it's maximum number, it is still possible to add a new one. This will lead to crash.

This patch will fix the issue.

Thanks to Steven Craft for the report.

Change History (1)

comment:1 Changed 5 years ago by riza

  • Owner set to riza
  • Resolution set to fixed
  • Status changed from new to closed

In 6040:

Fix #2214: Check for PJ_ICE_ST_MAX_CAND when adding new ICE candidate.

Note: See TracTickets for help on using tickets.