Changeset 3186 for pjproject/trunk


Ignore:
Timestamp:
May 26, 2010 3:10:07 PM (15 years ago)
Author:
bennylp
Message:

Misc (re #1068): crash in pj_sockaddr_parse2() if NULL of empty string is given (thanks Joe Meade for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/sock_common.c

    r3133 r3186  
    480480        if (p_port) 
    481481            *p_port = 0; 
    482         if (*raf) 
     482        if (raf) 
    483483            *raf = PJ_AF_INET; 
    484484        return PJ_SUCCESS; 
Note: See TracChangeset for help on using the changeset viewer.