Issue 8295 - Windows ldap_pvt_gettime is broken
Summary: Windows ldap_pvt_gettime is broken
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-28 13:49 UTC by Howard Chu
Modified: 2015-11-30 18:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Howard Chu 2015-10-28 13:49:17 UTC
Full_Name: Howard Chu
Version: 2.4
OS: Win32
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (78.155.231.14)
Submitted by: hyc


ldap_pvt_gettime is used to to generate CSNs with microsecond precision. On
Windows it goes thru some gyrations to calculate microseconds since the normal
SystemTime only has a resolution of 10-15 milliseconds. Unfortunately it doesn't
properly detect when the microsecond counter wraps around back to zero, so it
can occasionally return timestamps 1 second in the past.
Comment 1 Howard Chu 2015-10-28 14:34:03 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2015-11-17 18:20:28 UTC
changed notes
changed state Test to Release
Comment 3 OpenLDAP project 2015-11-30 18:21:54 UTC
fixed in master
fixed in RE25
fixed in RE24 (2.4.43)
Comment 4 Quanah Gibson-Mount 2015-11-30 18:21:54 UTC
changed notes
changed state Release to Closed