[ovs-git] [openvswitch/ovs] ec8752: expr: Set a limit on the depth of nested parenthes...

GitHub noreply at github.com
Thu Oct 11 20:01:34 UTC 2018


  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: ec87522081821a1ec6fc8f322dd93c65cd8b26f9
      https://github.com/openvswitch/ovs/commit/ec87522081821a1ec6fc8f322dd93c65cd8b26f9
  Author: Yifeng Sun <pkusunyifeng at gmail.com>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M ovn/lib/expr.c
    M tests/ovn.at

  Log Message:
  -----------
  expr: Set a limit on the depth of nested parentheses

This patch checks the depth of nested parentheses to prevent
stack overflow. Since is_chassis_resident doesn't allow
nested parentheses, its following parentheses are not taken
into acount in the parentheses-depth context.

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>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list