Edit

kc3-lang/libxml2/fuzz

Branch :

  • Show log

    Commit

  • Author : Nick Wellnhofer
    Date : 2020-08-25 18:50:45
    Hash : 6f1470a5
    Message : Hardcode maximum XPath recursion depth Always limit nested functions calls to 5000. This avoids call stack overflows with deeply nested expressions. The expression parser produces about 10 nested function calls when parsing a subexpression in parentheses, so the effective nesting limit is about 500 which should be more than enough. Use a lower limit when fuzzing to account for increased memory usage when using sanitizers.