Changeset 2381


Ignore:
Timestamp:
Dec 18, 2008 1:15:32 PM (13 years ago)
Author:
bennylp
Message:

Ticket 685: Crash or assertion on debug mode when processing large SIP packet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config_site_sample.h

    r2211 r2381  
    7373 
    7474#   define PJSIP_MAX_PKT_LEN            2000 
     75 
     76    /* This is important for Symbian. Symbian lacks vsnprintf(), so 
     77     * if the log buffer is not long enough it's possible that 
     78     * large incoming packet will corrupt memory when the log tries 
     79     * to log the packet. 
     80     */ 
     81#   define PJ_LOG_MAX_SIZE              (PJSIP_MAX_PKT_LEN+500) 
    7582 
    7683    /* Since we don't have threads, log buffer can use static buffer */ 
Note: See TracChangeset for help on using the changeset viewer.