Fix 64 bit int overflow in TakeANumberAccessQueueRepo #27

Closed
opened 2025-07-01 23:41:00 +00:00 by henry · 0 comments
Owner

Currently _nextUnusedTicket and _nowServing are unsigned 64 bit integers. If either ever overflows the queue will fall apart. For most implementations this won't happen since the max value is so high, but it's possible and should be mitigated.

Currently `_nextUnusedTicket` and `_nowServing` are unsigned 64 bit integers. If either ever overflows the queue will fall apart. For most implementations this won't happen since the max value is so high, but it's possible and should be mitigated.
henry added the
bug
label 2025-07-01 23:41:00 +00:00
henry closed this issue 2025-07-03 01:29:23 +00:00
Sign in to join this conversation.
No Label
bug
enhancement
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: henry/AccessQueueService#27
No description provided.