Skip to content

fix: guard time token arithmetic against overflow - #24

Merged
LimiNode merged 1 commit into
mainfrom
codex/rewrite-arithmetic-in-hmac_utils.cpp
Sep 3, 2025
Merged

fix: guard time token arithmetic against overflow#24
LimiNode merged 1 commit into
mainfrom
codex/rewrite-arithmetic-in-hmac_utils.cpp

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 3, 2025

Copy link
Copy Markdown
Owner

Summary

  • guard time token validity checks against time_t over/underflow
  • expand tests to cover max/min std::time_t cases

Testing

  • cmake -S . -B build -DBUILD_TESTS=ON
  • cmake --build build
  • ./build/test_all

https://chatgpt.com/codex/tasks/task_e_68b8c18517a8832c9720f0a9cfdc01f0

@LimiNode
LimiNode merged commit 030f6cb into main Sep 3, 2025
4 checks passed
@LimiNode
LimiNode deleted the codex/rewrite-arithmetic-in-hmac_utils.cpp branch September 4, 2025 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant