Skip to content

Conversation

@themuffinator
Copy link
Owner

Summary

  • guard COM_ParseEx against zero-length caller buffers and introduce explicit overflow reporting
  • avoid discarding oversized tokens while still logging and tracking overflow state
  • add parsing tests covering zero-size buffers, truncation on oversized tokens, and exact-fit tokens

Testing

  • g++ -std=c++17 -Isrc -Isrc/fmt src/q_std_parsing_tests.cpp -o /tmp/q_std_tests
  • /tmp/q_std_tests

Codex Task

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