diff options
| author | sanuk369 <224479491+quackottu@users.noreply.github.com> | 2026-11-22 11:33:49 +0530 |
|---|---|---|
| committer | sanuk369 <224479491+quackottu@users.noreply.github.com> | 2026-11-22 11:33:49 +0530 |
| commit | 22465fa6b6e7bad805d1f7ee22eafa56369177ec (patch) | |
| tree | ca738e8bc25f8864262ff8ee0a529c6bc8c9df73 /runtime/src/tls_host.cpp | |
| parent | 43d470316ec6cbcd64002bc3792998d9f5745dac (diff) | |
rootsig::pack: 64-bit sums, so a huge constant count can't wrap past the limits
cost and dword_count + dwords were 32-bit. With {Constants 1, Constants
0xFFFFFFFF} both wrap to 0, so the 64-dword cost check and the 32-SGPR
check pass and the loop writes past PackResult::dwords[32] (the test
binary dies with 0xC0000409). parse_rts0 copies Num32BitValues from a
blob unchecked, so a malformed RTS0 reaches this. Both sums are now
64-bit; root_signature_test gets the wrapping case.
Diffstat (limited to 'runtime/src/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions