mirror of
https://github.com/sheumann/hush.git
synced 2025-04-28 15:37:24 +00:00
Reduce stack size to 3k.
Hush uses recursion for (at least) parsing nested constructs like { ... }, so it's possible for pathological/malicious scripts to overflow the stack, but this should be enough for just about anything non-pathological (e.g. up to about 10 levels of nested { }).
This commit is contained in:
parent
79371e2122
commit
4c37e05f0c
@ -103,7 +103,7 @@ LIBS = -l/usr/lib/libtermcap.204
|
||||
# Optimize bit 6 breaks some standard-compliant varargs code,
|
||||
# and bits 0, 4, and 5 have known bugs. Disable for now.
|
||||
CFLAGS = -i -w -a1 -O8
|
||||
STACKSIZE = 4096
|
||||
STACKSIZE = 3072
|
||||
|
||||
.IF $(DEBUG)
|
||||
CFLAGS += -g -DDEBUG
|
||||
|
Loading…
x
Reference in New Issue
Block a user