bary_fallback_gs: reject negative or bool bary_location #478
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!478
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/478/head"
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?
@kotekompotek on GitHub · 2026-11-24 06:06 UTC · original
kotekompotek:work/bary-fallback-gs-validate-bary-loc→main· +7 −0 · 2 files · 1 commits · merged 2026-11-24 06:59 UTCValidates that bary_location in gs_spvasm() is a non-negative int (rejecting bool and negative values). Verified with pytest: 28 passed, 1 skipped.
@QemmHD on GitHub · 2026-11-24 06:59 UTC · original
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).