Bug 5398 - chgpasswd.c: unsigned integer is being compared to 0
Summary: chgpasswd.c: unsigned integer is being compared to 0
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.2.0
Hardware: SGI IRIX
: P3 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 11:12 UTC by Jason Mader (mail bounces back)
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 (mail bounces back) 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