Opened 10 years ago

Closed 10 years ago

#863 closed defect (fixed)

Account may always re-register with IPv6, due to string comparison of IPv6 address

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.3
Component: pjsua-lib Version: trunk
Keywords: sipit24 Cc:
Backport to 1.x milestone: Backported:

Description

We use string comparison to compare the Contact address and received address, in order to determine whether the Contact URI needs to be replaced (re-registered). Different OS may produce different string representation for the same address (e.g. adding zero), hence we may incorrectly re-register when we shouldn't.

Change History (3)

comment:1 Changed 10 years ago by bennylp

  • Milestone changed from Sipit24 to release-1.3
  • Version changed from Sipit24 to trunk

comment:2 Changed 10 years ago by bennylp

  • Keywords sipit24 added

comment:3 Changed 10 years ago by bennylp

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

Fixed in r2745. Note that this changeset needs ticket #878.

Note: See TracTickets for help on using tickets.