mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00

Script and BIF functions with a single any parameter are excluded from type checking regarding arguments. This makes it possible to call a ScriptFunc with more arguments than it actually has parameters and frame space for, causing heap-buffer-overflows. This change runtime checks expected parameters and provided arguments and short-circuits execution as well as logging runtime expression errors. Fixes #2446
6 lines
208 B
Text
6 lines
208 B
Text
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
zeek_init() &priority=10
|
|
l=a local x=1
|
|
zeek_init() &priority=-10
|
|
l=a local x=1
|
|
l=a local x=1
|