• Show log

    Commit

  • Hash : 48379394
    Author : Nick Wellnhofer
    Date : 2023-03-13T17:11:27

    malloc-fail: Stop using XPath stack frames
    
    There's too much code which assumes that if ctxt->value is non-null,
    a value can be successfully popped off the stack. This assumption can
    break with stack frames when malloc fails.
    
    Instead of trying to fix all call sites, remove the stack frame logic.
    It only offered very little protection against misbehaving extension
    functions. We already check the stack size after a function call which
    should be enough.
    
    Found by OSS-Fuzz.