Bug 8035 - LDAP: Properly handle unsigned 32-bit integers
Summary: LDAP: Properly handle unsigned 32-bit integers
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: unspecified
Hardware: x64 All
: P5 normal (vote)
Target Milestone: ---
Assignee: Stefan Metzmacher
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 08:47 UTC by Matthias Dieter Wallnöfer
Modified: 2011-08-10 18:12 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 Matthias Dieter Wallnöfer 2011-03-23 08:47:58 UTC
Unsigned integers of 32 bit length are not always normalised as signed ones. Especially then not when they are set over the LDAP server. In a concrete example that means that values over the 2 billions threshold don't become negative.
The bug happens solely on x86_64 and comparable 64bit platforms.
Comment 1 Matthias Dieter Wallnöfer 2011-08-10 18:12:42 UTC
This should have been fixed by commit 4ede333f468b36fb7435c9de1216da3b66bf0490.