Changeset 5593


Ignore:
Timestamp:
May 22, 2017 3:46:32 AM (7 years ago)
Author:
ming
Message:

Fixed #2016: Buffer overrun in PJSIP transaction layer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transaction.c

    r5573 r5593  
    289289 
    290290    /* Calculate length required. */ 
    291     len_required = 9 +                      /* CSeq number */ 
     291    len_required = method->name.slen +      /* Method */ 
     292                   9 +                      /* CSeq number */ 
    292293                   rdata->msg_info.from->tag.slen +   /* From tag. */ 
    293294                   rdata->msg_info.cid->id.slen +    /* Call-ID */ 
Note: See TracChangeset for help on using the changeset viewer.