Bug 5398 - chgpasswd.c: unsigned integer is being compared to 0
chgpasswd.c: unsigned integer is being compared to 0
Status: RESOLVED FIXED
Product: Samba 3.2
Classification: Unclassified
Component: Build environment
3.2.0
SGI IRIX
: P3 normal
: ---
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-17 11:12 UTC by Jason Mader
Modified: 2008-04-19 10:05 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 2008-04-17 11:12:07 UTC
In Samba 3.2.0pre2
--- smbd/chgpasswd.o ---
cc-1183 c99: WARNING File = smbd/chgpasswd.c, Line = 303
  An unsigned integer is being compared to zero.

                if (len < 0) {
                        ^
Comment 1 Volker Lendecke 2008-04-19 10:05:33 UTC
Fixed with 7a57c2da1a, thanks!

Volker