Ignore:
Timestamp:
Apr 10, 2007, 5:27:38 AM (14 years ago)
Author:
Paul Smedley
Message:

Updated source to 3.0.25rc1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/librpc/ndr/sid.c

    r1 r26  
    212212                NDR_CHECK(ndr_pull_align(ndr, 4));
    213213                NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sd_size));
    214                 if (r->sd_size < 0 || r->sd_size > 0x40000) {
     214                if (r->sd_size > 0x40000) { /* sd_size is unsigned */
    215215                        return ndr_pull_error(ndr, NDR_ERR_RANGE, "value out of range");
    216216                }
Note: See TracChangeset for help on using the changeset viewer.