Bug 6163 - "libads/ldap.c", warning: initializer does not fit or is out of range: -1
Summary: "libads/ldap.c", warning: initializer does not fit or is out of range: -1
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.3.1
Hardware: Sparc Solaris
: P3 normal
Target Milestone: ---
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 07:39 UTC by John Center
Modified: 2020-12-22 00:39 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 John Center 2009-03-05 07:39:45 UTC
The error is in function ads_get_machine_kvno.  The unsigned variable kvno is assigned a negative number.  The function itself returns an uint32_t, but the return value can be signed.
Comment 1 Björn Jacke 2020-12-22 00:39:23 UTC
it's not nice imho but obviously intended, anyone who would like to pretty this up can reopen this bug report.