Opened 9 years ago

Closed 9 years ago

#1844 closed defect (fixed)

Possible assertion in ICE session when remote has less ICE component

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

Description

ICE component count may decrease, e.g: remote doesn't have RTCP component while we are initialized with RTCP, at some point we will destroy the RTCP component, but somehow it may still receive STUN packet which will raise assertion in find_comp() function:

pj_assert(comp_id > 0 && comp_id <= ice->comp_cnt);

The corresponding test scenario is tests/pjsua/scripts-call/305_ice_comp_1_2.py.

Change History (1)

comment:1 Changed 9 years ago by nanang

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

In 5070:

Fixed #1844: Replaced assertion check of component ID range with normal check.

Note: See TracTickets for help on using tickets.