Ignore:
Timestamp:
Feb 10, 2015 3:20:04 AM (7 years ago)
Author:
ming
Message:

Re #1782 (misc): Prevent buffer overrun in pjsip message/uri printing
Thanks to Sagi Iltus for the patch

File:
1 edited

Legend:

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

    r4849 r4979  
    12211221 
    12221222        copy_advance(buf, (*hname)); 
    1223         *buf++ = ':'; 
    1224         *buf++ = ' '; 
     1223        copy_advance_char_check(buf, ':'); 
     1224        copy_advance_char_check(buf, ' '); 
    12251225 
    12261226        printed = pjsip_uri_print(PJSIP_URI_IN_CONTACT_HDR, hdr->uri,  
Note: See TracChangeset for help on using the changeset viewer.