upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/shims/d3d12_com.cpp
diff options
context:
space:
mode:
authorNarek Shaghoyan <narekshagoyan7@gmail.com>2026-11-22 17:10:56 +0000
committerNarek Shaghoyan <narekshagoyan7@gmail.com>2026-11-22 17:10:56 +0000
commitf616da931f782dc9c753b2a9d2fe4fbaff831f9a (patch)
tree4d5c275cffddce4a83c4ebc8999c6a4296f1cb83 /runtime/shims/d3d12_com.cpp
parent49475796c226c8511b9470bf97a4daf57b8af323 (diff)
rbf0_encode: fail closed on malformed reports, bool indices, direct NaN, and float32 overflow
Harden tools/rbf0_encode.py so edited/malformed trees and JSON reports raise clean EncodeError / SystemExit messages instead of tracebacks: reject bool for descriptor/attrs_declared, catch direct math.nan and struct.pack OverflowError in float_bits(), reject non-dict documents and non-str text, and validate report JSON/shape/offsets/OSError in write_all(). Synthetic tests added in tests/test_rbf0_encode.py.
Diffstat (limited to 'runtime/shims/d3d12_com.cpp')
0 files changed, 0 insertions, 0 deletions