Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#940 closed defect (fixed)

Multiple header rows with the same name may not be completely processed by PJSIP modules.

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

Description

Sample cases:

  • pjsip_inv_verify_request2() fails to collect all extensions supported when Supported header formed in multiple rows (only the first row processed), such as:
    Supported: replaces, 100rel, norefersub
    Supported: timer
    
  • similar to above, for Require header.

Change History (3)

comment:1 Changed 15 years ago by bennylp

  • Milestone changed from release-1.4-QA to release-1.5

comment:2 Changed 15 years ago by bennylp

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

Fixed in r2985:

  • the parser now collects and aggregates all Supported/Require? header fields into single header

comment:3 Changed 15 years ago by bennylp

In r3003:

  • handle the case when context doesn't have rdata (such as when parsing individual header or in pjsip-test), which crashed the app
Note: See TracTickets for help on using tickets.