On Sun, Nov 21, 2021 at 12:51:46AM +0100, Dominik Vogt wrote:
> How about
>
> 1. MAX_FUNCTION_DEPTH100 (stricter limit)
> 2. MAX_FUNCTION ITEMS 1000 (limit maximum size of functions)
> 3. MAX_CMDS_PER_INVOCATION 1 (max. cmds per top level function
> invocation)
Sounds sen
On Sat, Nov 20, 2021 at 10:30:24PM +, Thomas Adam wrote:
> On Sat, Nov 20, 2021 at 04:26:13PM +0100, Dominik Vogt wrote:
> > I wonder if we should do something about these kind of functions:
> > Theres the definition "MAX_FUNCTION_DEPTH 512" in defaults.h that
> > prevents functions from nestin
On Sat, Nov 20, 2021 at 04:26:13PM +0100, Dominik Vogt wrote:
> I wonder if we should do something about these kind of functions:
> Theres the definition "MAX_FUNCTION_DEPTH 512" in defaults.h that
> prevents functions from nesting infinitely deep:
Yeah. How likely is this problem in the real wor
I wonder if we should do something about these kind of functions:
Theres the definition "MAX_FUNCTION_DEPTH 512" in defaults.h that
prevents functions from nesting infinitely deep:
addtofunc foo i foo
foo
=> ok
But this is not good:
addtofunc foo
+ i foo
+ i foo
h hangs:
foo
Alth