[ovs-dev] [PATCH v2] expr: Set a limit on the depth of nested parentheses

Yifeng Sun pkusunyifeng at gmail.com
Wed Oct 10 22:16:52 UTC 2018


Thanks, handling is_chassis_resident is not necessary because it doesn't
allow nested parentheses. I've sent out a new version.

Yifeng


On Wed, Oct 10, 2018 at 11:13 AM Ben Pfaff <blp at ovn.org> wrote:

> On Wed, Oct 10, 2018 at 11:03:54AM -0700, Yifeng Sun wrote:
> > This patch checks the depth of nested parentheses to prevent
> > stack overflow.
> >
> > Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10714
> > Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
> > Suggested-by: Ben Pfaff <blp at ovn.org>
> > ---
> > v1->v2: Handle parse_chassis_resident and add new test, thanks Ben!
>
> Thanks for the new version.
>
> I don't understand why is_chassis_resident() is a special case.  Can you
> help me understand?
>
> Thanks,
>
> Ben.
>


More information about the dev mailing list