Ignore:
Timestamp:
Oct 30, 2015 12:37:14 AM (9 years ago)
Author:
ming
Message:

Re #1882 (misc): related to r5192, fixed inaccurate index checking in pjmedia_sdp_attr_find() as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sdp.c

    r5192 r5193  
    145145    unsigned c_pt = 0xFFFF; 
    146146 
    147     PJ_ASSERT_RETURN(count < PJMEDIA_MAX_SDP_ATTR, NULL); 
     147    PJ_ASSERT_RETURN(count <= PJMEDIA_MAX_SDP_ATTR, NULL); 
    148148 
    149149    if (c_fmt) 
Note: See TracChangeset for help on using the changeset viewer.