Changeset 4613 for pjproject/trunk/pjmedia/src/pjmedia/sdp.c
- Timestamp:
- Oct 8, 2013 9:08:13 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/sdp.c
r4537 r4613 504 504 rtpmap->param.ptr); 505 505 506 if (len < 1 || len > (int)sizeof(tempbuf))506 if (len < 1 || len >= (int)sizeof(tempbuf)) 507 507 return PJMEDIA_SDP_ERTPMAPTOOLONG; 508 508 … … 527 527 (int)c->addr.slen, 528 528 c->addr.ptr); 529 if (printed < 1 || printed > len)529 if (printed < 1 || printed >= len) 530 530 return -1; 531 531
Note: See TracChangeset
for help on using the changeset viewer.