[ovs-dev] [PATCH] odp-util: Stop key parsing if already oversized.

Ilya Maximets i.maximets at ovn.org
Thu Jul 8 12:51:32 UTC 2021


On 7/7/21 11:09 PM, Ben Pfaff wrote:
> 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.maximets at 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 <blp at ovn.org>
> 

Thanks! Applied.

Best regards, Ilya Maximets.


More information about the dev mailing list