Bug 4466 - librpc/ndr/ ndr_sec_helper.c & sid.c: unsigned integer is being compared to zero
librpc/ndr/ ndr_sec_helper.c & sid.c: unsigned integer is being compared to zero
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.25
SGI IRIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-24 12:46 UTC by Jason Mader
Modified: 2007-03-24 13:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 2007-03-24 12:46:27 UTC
cc-1183 c99: WARNING File = librpc/ndr/ndr_sec_helper.c, Line = 606
  An unsigned integer is being compared to zero.

                if (r->num_aces < 0 || r->num_aces > 1000) {
                                ^

cc-1183 c99: WARNING File = librpc/ndr/sid.c, Line = 214
  An unsigned integer is being compared to zero.

                if (r->sd_size < 0 || r->sd_size > 0x40000) {
                               ^
Comment 1 Volker Lendecke 2007-03-24 13:16:47 UTC
Fixed with r21960 -- thanks

Volker