Opened 14 years ago

Closed 14 years ago

#1223 closed defect (fixed)

Bug in initializing message body's media type from incoming message (thanks Gang Liu for the report)

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

Description

Bug when copying params of content-type at line 1065 of sip_parser.c. If ctype_hdr->media.param is an empty list, body->content_type.param wouldn't be empty after copy because param->next points to &ctype_hdr->media.param, not &body->content_type.param. Then pjsip_endpt_create_request_fwd() will always loop inside pjsip_param_clone().

Change History (1)

comment:1 Changed 14 years ago by bennylp

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

(In [3482]) Fix #1223: Bug in initializing message body's media type from incoming message (thanks Gang Liu for the report)

Note: See TracTickets for help on using tickets.