Changeset 4613 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
- Timestamp:
- Oct 8, 2013 9:08:13 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r4592 r4613 1750 1750 (int)acc->cfg.contact_params.slen, 1751 1751 acc->cfg.contact_params.ptr); 1752 if (len < 1 ) {1752 if (len < 1 || len >= PJSIP_MAX_URL_SIZE) { 1753 1753 PJ_LOG(1,(THIS_FILE, "URI too long")); 1754 1754 pj_pool_release(pool); … … 3102 3102 (int)acc->cfg.contact_params.slen, 3103 3103 acc->cfg.contact_params.ptr); 3104 3104 if (contact->slen < 1 || contact->slen >= (int)PJSIP_MAX_URL_SIZE) 3105 return PJ_ETOOSMALL; 3105 3106 return PJ_SUCCESS; 3106 3107 } … … 3272 3273 (int)acc->cfg.contact_params.slen, 3273 3274 acc->cfg.contact_params.ptr); 3275 if (contact->slen < 1 || contact->slen >= (int)PJSIP_MAX_URL_SIZE) 3276 return PJ_ETOOSMALL; 3274 3277 3275 3278 return PJ_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.