diff options
| author | SirAmong <ariel.morocho@hotmail.com> | 2026-11-22 11:20:39 -0500 |
|---|---|---|
| committer | SirAmong <ariel.morocho@hotmail.com> | 2026-11-22 11:22:01 -0500 |
| commit | bcf9a8fba67849b271a62ec0887e4e62e49868c8 (patch) | |
| tree | 46598d342174f9fc8b682e985859c4937c15f16d /runtime/test/gameinput_test.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
vk_pipeline_check: reject bytes after the top-level object, keep the malformed-JSON wording, check .exe path (TEST-257 review)
Review of #1847: (1) read_index returned on the closing brace without checking
that only whitespace follows, so {}garbage was accepted: now it is malformed.
(2) Malformed and empty input keep 'malformed JSON in ...' (open PR #1735's CLI
test asserts it); only a file that cannot be opened or read says 'cannot read'.
(3) The file is read with read() and its gcount checked, since
istreambuf_iterator bypasses the stream state. (4) The test's find_binary also
checks runtime/build/vk_pipeline_check.exe (single-config Windows Ninja).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions