File: 40_max_stack.patch

package info (click to toggle)
pscan 1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 228 kB
  • sloc: ansic: 890; lex: 288; makefile: 31; sh: 1
file content (11 lines) | stat: -rw-r--r-- 292 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/pscan.c
+++ b/pscan.c
@@ -44,7 +44,7 @@ static int verbose = 0;
 static int warnings = FALSE;
 static char *filename;
 
-#define FSM_MAX_STACK 8192
+#define FSM_MAX_STACK 32768
 static parser_state_t fsm_stack[FSM_MAX_STACK];
 static int stack_index = 0;
 parser_state_t *state = NULL;