Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1061 closed defect (fixed)

Assertion when receiving authentication challenge with empty realm (thanks Andrey Kovalenko for the report)

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

Description (last modified by bennylp)

Assertion is raised in sip_auth_client.c:395 when 401/407 response is received containing Proxy-Authenticate or WWW-Authenticate header with empty realm value.

Change History (3)

comment:1 Changed 14 years ago by bennylp

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

(In [3149]) Fixed #1061 (Assertion when receiving authentication challenge with empty realm (thanks Andrey Kovalenko for the report)):

  • removed the assertion (allow responding to empty realm)
  • slight modification in Authenticate/WWW-Authenticate headers to allow printing challenge with empty realm, otherwise a malformed header will be printed if empty realm is given

comment:2 Changed 14 years ago by bennylp

  • Description modified (diff)

comment:3 Changed 14 years ago by bennylp

(In [3150]) Refs #1061: added unit test to test handling of empty realm in 401/407 challenge

Note: See TracTickets for help on using tickets.