You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust: validate exact lake timestamps before minting IDs #978
parse_lake_timestamp_ms accepts impossible dates such as 2026-02-31, negative hours/minutes/seconds, and trailing fields because it checks only broad upper bounds and never checks for extra components. DeterministicV7Factory::from_lake_timestamp can mint an ID from a normalized invalid run stamp. Source.
Change
Validate the exact UTC YYYY-MM-DD HH:MM:SS shape, full calendar date, and each nonnegative time component before converting to milliseconds.
Done when
Impossible dates and non-leap-year February 29 are rejected; valid leap day is accepted.
Negative or trailing date/time components are rejected.
Extreme year input returns an error/None without panic, and valid timestamps keep their current IDs.
Activity
fix(rust): resolve crate audit cleanup tickets (#1003)