On Thu, Jun 24, 2021 at 01:44:48PM +0200, Ilya Maximets wrote: > 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 <i.maxim...@ovn.org>
This seems like a reasonable thing to do and I didn't spot any bugs at a glance. I didn't compile it or run the tests. Acked-by: Ben Pfaff <b...@ovn.org> _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev