https://bugs.openldap.org/show_bug.cgi?id=10485
Issue ID: 10485 Summary: potential division by zero in tier bestof Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: lloadd Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
In rare cases gettimeofday could fall on tv_usec == 0 so we will just accept it's been exactly 1 second and go with that.
https://bugs.openldap.org/show_bug.cgi?id=10485
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |ondra@mistotebe.net Keywords|needs_review | Target Milestone|--- |2.6.14
https://bugs.openldap.org/show_bug.cgi?id=10485
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 3a6184c2 by Ondřej Kuzník at 2026-04-10T03:15:42+00:00 ITS#10485 Fix a divide by zero
RE26:
• 048f97c0 by Ondřej Kuzník at 2026-04-21T15:58:00+00:00 ITS#10485 Fix a divide by zero
https://bugs.openldap.org/show_bug.cgi?id=10485
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED Status|RESOLVED |VERIFIED