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

Ben Pfaff blp at ovn.org
Wed Oct 10 18:13:42 UTC 2018

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?



More information about the dev mailing list