commit | 81bc9f49db8ed52ab593042251a2131a5bb75ddf | [log] [tgz] |
---|---|---|
author | Kean Mariotti <keanmariotti@google.com> | Mon Oct 31 19:19:49 2022 +0000 |
committer | Kean Mariotti <keanmariotti@google.com> | Tue Nov 01 13:46:24 2022 +0000 |
tree | 45d98957ab8a9b4b9e94eb8a84bd0b0cb45a08b3 | |
parent | 343b2f165cfec807119c4fd4f0d6542e6eb70b7b [diff] |
ParserWindowManagerDump more robust to invalid input ParserWindowManagerDump is prone to accepting invalid inputs because it lacks a magic number check. This commit reduces changes of accepting invalid inputs by making sure that the parser is actually able to create a trace entry from the decoded proto. Test: npm run build:unit && npm run test:unit Change-Id: I1aad12387ce064cde6e27e09cd6d329bb21f5066