Skip to content

Fix numeric generation bounds and multipart header injection - #116

Merged
rasuvaeff merged 3 commits into
masterfrom
fix/openapi-numeric-and-multipart-boundaries
Sep 17, 2026
Merged

rasuvaeff merged 3 commits into
masterfrom
fix/openapi-numeric-and-multipart-boundaries

Conversation

@rasuvaeff

Copy link
Copy Markdown
Owner

Fix valid request-case generation at native numeric limits and reject unsafe multipart part headers.

  • use overflow-safe integer quotient and product handling for integer multipleOf
  • fail closed when a number multipleOf index cannot fit in the core integer generator
  • move exclusive number bounds to the adjacent IEEE-754 value, including subnormals
  • reject CR/LF and invalid field names in multipart content types and part headers

Validation:

  • composer build (before the final test-only case)
  • composer rector
  • targeted Testo suites: RequestCaseArbitraryTest and SchemaArbitraryCompilerTest
  • composer cs
  • composer mutation ran and reported 91.62% MSI against the existing 92% threshold; it fails on the current package-wide baseline and is not hidden by this PR

@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 670504e9-a1b9-46c3-85d3-5b3e6ea7e393


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@rasuvaeff
rasuvaeff merged commit 4ad82ad into master Sep 17, 2026
11 checks passed
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.

1 participant