Ignore:
Timestamp:
07/28/11 21:51:30 (13 years ago)
Author:
r2d
Message:

Security fixes by DEATH (and some changes by myself)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/libmpcdec/mpc_bits_reader.c

    r424 r473  
    137137{
    138138        mpc_uint32_t value = 0;
     139        if (max == 0)
     140                return 0;
    139141        if (log2[max - 1] > 1)
    140142                value = mpc_bits_read(r, log2[max - 1] - 1);
Note: See TracChangeset for help on using the changeset viewer.