On 6/14/21 8:20 PM, Ben Pfaff wrote: > On Mon, Jun 14, 2021 at 07:36:01PM +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 list of >> actions. >> >> Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29190 >> Signed-off-by: Ilya Maximets <[email protected]> > > Acked-by: Ben Pfaff <[email protected]>
Applied. Thanks! > > I didn't realize that the printf program worked that way. That's a very > clever way to repeat a string. > Internet search also suggests some interesting variants like: yes "set(encap())," | head -8190 | tr -d '\n' And it's even faster. But I like the printf one better. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
