diff options
| author | MoonEyes <MoonEyes@users.noreply.github.com> | 2026-12-03 11:58:32 +0100 |
|---|---|---|
| committer | MoonEyes <MoonEyes@users.noreply.github.com> | 2026-12-03 11:58:32 +0100 |
| commit | 7cc1c18e16e19a538e6445b35b905393b408d62b (patch) | |
| tree | b6e39d1350ae0c02a04d8775c319f733f4a661c0 /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | e9cc6e921189d2cdb58a38ffef605fdc9621eaa1 (diff) | |
bug report info: allowlist scrub, so no program name, path or quoted text reaches the clipboard (review)
The blocklist missed what the runtime really logs: pipeline/host.rs logs the title's program names as
names=["PS_..."], capture.rs logs path=D:\..., and paths outside the home folder or quoted file names passed.
Now every word of an error line is kept only if it is a plain word, a number, a timestamp, the logging module or a
Windows status code; a field keeps its value only if it is a number, true/false or a status code; a word made of
6+ hex letters (deadbeef) is dropped; removed words in a row become one <removed>. The exception text of a failed
read is scrubbed too. The scrub tests now assert that nothing leaks, with the reviewer's real runtime lines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions