commit | 6b505e7f7114e47a147fffc982277065deb92262 | [log] [tgz] |
---|---|---|
author | Manuel Klimek <klimek@google.com> | Mon Nov 22 09:07:57 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 22 02:17:00 2021 -0800 |
tree | 489b8a21bc34933ff3247647dccff3c149b316dd | |
parent | 20f01ec931c29418c5b9b362293834be0f561765 [diff] |
Fix various problems found by fuzzing. 1. IndexTokenSource::getNextToken cannot return nullptr; some code was still written assuming it can; make getNextToken more resilient against incorrect input and fix its call-sites. 2. Change various asserts that can happen due to user provided input to conditionals in the code. GitOrigin-RevId: 84bf5e328664db2e744c4651c52d2460b1733d09