Skip to content

Conversation

@jotaen
Copy link
Owner

@jotaen jotaen commented Feb 13, 2025

This PR adds a protection mechanism against integer overflow. This might occur internally when dealing with extremely large time values, such as 9223372036854775808m (~17 trillion years).

If overflow occurs, the CLI tool fails rather ungracefully, but I guess that’s fine considering the overall likelihood of this issue in practice.

@jotaen jotaen merged commit 308cb67 into main Feb 13, 2025
8 checks passed
@jotaen jotaen deleted the overflow branch February 13, 2025 16:21
jotaen added a commit that referenced this pull request Jul 1, 2025
bevel-zgates pushed a commit to bevel-zgates/klog that referenced this pull request Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants