MojoLPM: Remove NOTREACHED from union traits.
This NOTREACHED was a poor decision, as fuzzer can directly reach this code, so it will produce spurious check failures during fuzzing. Return a 0 tag in this case instead - this will lead to the fuzzer trying to deserialize a type which is not stored in the proto, which will fail quietly instead. Bug: 1076336 Change-Id: Ie6eb826c026f0e157fe71a030a4cd612dfa794e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2302630 Commit-Queue: Mark Brand <markbrand@google.com> Reviewed-by:Oksana Zhuravlova <oksamyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#794945}
Showing
Please register or sign in to comment