bary_fallback_gs: reject negative or bool bary_location #478
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!478
Loading…
Reference in a new issue
No description provided.
Delete branch "work/bary-fallback-gs-validate-bary-loc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Validates that bary_location in gs_spvasm() is a non-negative int (rejecting bool and negative values). Verified with pytest: 28 passed, 1 skipped.
Merging. Why merged: a bool or negative bary_location is refused before any SPIR-V is generated.
Why it's good: security-reviewed; tested on Windows 11 merged onto main c023a36: 28 -> 29 tests OK (the new test fails on main); the only caller passes a JSON int.
AI-assisted (Claude Code, Claude Opus 5.5).