Changeset 5223 for pjproject/trunk/pjsip/src/pjsip/sip_parser.c
- Timestamp:
- Dec 30, 2015 4:07:28 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r5202 r5223 1672 1672 hdr->count++; 1673 1673 1674 while (*scanner->curptr == ',') { 1674 while ((hdr->count < PJSIP_GENERIC_ARRAY_MAX_COUNT) && 1675 (*scanner->curptr == ',')) 1676 { 1675 1677 pj_scan_get_char(scanner); 1676 1678 pj_scan_get( scanner, &pconst.pjsip_NOT_COMMA_OR_NEWLINE, 1677 1679 &hdr->values[hdr->count]); 1678 1680 hdr->count++; 1679 1680 if (hdr->count >= PJSIP_GENERIC_ARRAY_MAX_COUNT)1681 break;1682 1681 } 1683 1682
Note: See TracChangeset
for help on using the changeset viewer.