bary_fallback_gs: reject negative or bool bary_location #478
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/478"
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?
Imported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-24T06:06:54Z.
Validates that bary_location in gs_spvasm() is a non-negative int (rejecting bool and negative values). Verified with pytest: 28 passed, 1 skipped.
Imported from ubiquitarianism/leonida. Originally posted by QemmHD on 2026-11-24T06:59:10Z.
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).