Changeset 4126


Ignore:
Timestamp:
May 17, 2012 3:51:11 AM (7 years ago)
Author:
nanang
Message:

Fix #1499: Crash in libsrtp when handling certain RTCP packets, more info:

http://sourceforge.net/tracker/?func=detail&aid=3280295&group_id=38894&atid=423799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/third_party/srtp/crypto/replay/rdb.c

    r1730 r4126  
    116116    /* shift the window forward by delta bits*/ 
    117117    v128_left_shift(&rdb->bitmask, delta); 
    118     v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask-delta); 
     118    v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask-1); 
    119119    rdb->window_start += delta; 
    120120 
Note: See TracChangeset for help on using the changeset viewer.