forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
odp-util: Stop key parsing if already oversized.
We don't need to continue parsing if already oversized. This is not very important, but fuzzer times out while parsing very long flow. The check could be written as a single 'if' statement, but I found my variant much more readable. Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35519 Signed-off-by: Ilya Maximets <[email protected]> Acked-by: Ben Pfaff <[email protected]>
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters