Changeset 4582 for pjproject/trunk


Ignore:
Timestamp:
Aug 12, 2013 11:28:33 AM (11 years ago)
Author:
nanang
Message:

Misc (re #1630): Fixed bug of overlapping dst & src buffer for strcpy() in ice_session.c, reported to cause crash on iOS7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/ice_session.c

    r4537 r4582  
    900900    PJ_CHECK_STACK(); 
    901901 
    902     pj_ansi_strcpy(laddr, pj_sockaddr_print(&lcand->addr, laddr, 
    903                                             sizeof(laddr), 0)); 
    904  
    905902    len = pj_ansi_snprintf(buffer, bufsize, 
    906903                           "%d: [%d] %s:%d-->%s:%d", 
Note: See TracChangeset for help on using the changeset viewer.