Ignore:
Timestamp:
Nov 8, 2017 2:58:18 AM (5 years ago)
Author:
riza
Message:

Closed #2056: Add validity checking for numeric header values.

File:
1 edited

Legend:

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

    r5613 r5682  
    290290    /* Calculate length required. */ 
    291291    len_required = method->name.slen +      /* Method */ 
    292                    9 +                      /* CSeq number */ 
     292                   11 +                     /* CSeq number */ 
    293293                   rdata->msg_info.from->tag.slen +   /* From tag. */ 
    294294                   rdata->msg_info.cid->id.slen +    /* Call-ID */ 
    295295                   host->slen +             /* Via host. */ 
    296                    9 +                      /* Via port. */ 
     296                   11 +                     /* Via port. */ 
    297297                   16;                      /* Separator+Allowance. */ 
    298298    key = p = (char*) pj_pool_alloc(pool, len_required); 
Note: See TracChangeset for help on using the changeset viewer.