Opened 10 years ago

Closed 10 years ago

#1800 closed defect (fixed)

Crash in SIP resolver when DNS server return lot of addresses

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

Description

The max address entries in pjsip_server_addresses is limited by compile time setting PJSIP_MAX_RESOLVED_ADDRESSES, however the SIP resolver doesn't check for this limit while assigning entries from DNS server response.

Thanks Thomas Haremsa for the report and the fix.

Change History (1)

comment:1 Changed 10 years ago by nanang

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

In 4954:

Fix #1800: Fixed crash in SIP resolver when DNS server return a lot of addresses (> PJSIP_MAX_RESOLVED_ADDRESSES).

Note: See TracTickets for help on using tickets.