Skip to content

Conversation

@somethingelseentirely
Copy link

Summary

  • guard CompactVector::from_bytes against len * width overflow and return an InvalidMetadata error
  • add a regression test that feeds overflowing metadata to ensure the guard triggers
  • record the overflow protection in the changelog

Testing

  • cargo test
  • ./scripts/preflight.sh

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

@somethingelseentirely somethingelseentirely merged commit 8a351c9 into main Sep 26, 2025
1 check passed
@somethingelseentirely somethingelseentirely deleted the codex/replace-multiplication-with-checked_mul branch September 26, 2025 18:47
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.

2 participants