• Nils Goroll's avatar
    Avoid panic with PRIV_TOP arguments · d0db4c97
    Nils Goroll authored
    Instead of triggering a WRONG() panic, we now fail the VCL when any vmod
    function with PRIV_TOP argument(s) is present in a sub called from
    outside client context.
    
    Note that the VCL failure happens not when the vmod function with the
    PRIV_TOP argument is called, but rather when the containing SUB is
    called. This is because we prepare PRIV_TOP arguments in the function
    preamble.
    
    Fixes #3498
    d0db4c97
Name
Last commit
Last update
..
cache Loading commit data...
common Loading commit data...
fuzzers Loading commit data...
hash Loading commit data...
hpack Loading commit data...
http1 Loading commit data...
http2 Loading commit data...
mgt Loading commit data...
proxy Loading commit data...
storage Loading commit data...
waiter Loading commit data...
Makefile.am Loading commit data...
VSC_lck.vsc Loading commit data...
VSC_main.vsc Loading commit data...
VSC_mempool.vsc Loading commit data...
VSC_mgt.vsc Loading commit data...
VSC_sma.vsc Loading commit data...
VSC_smf.vsc Loading commit data...
VSC_smu.vsc Loading commit data...
VSC_vbe.vsc Loading commit data...
builtin.vcl Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vclflint.lnt Loading commit data...
vclflint.sh Loading commit data...