debian/patches/40_max_stack.patch
raw| 1 | --- a/pscan.c |
| 2 | +++ b/pscan.c |
| 3 | @@ -44,7 +44,7 @@ static int verbose = 0; |
| 4 | static int warnings = FALSE; |
| 5 | static char *filename; |
| 6 | |
| 7 | -#define FSM_MAX_STACK 8192 |
| 8 | +#define FSM_MAX_STACK 32768 |
| 9 | static parser_state_t fsm_stack[FSM_MAX_STACK]; |
| 10 | static int stack_index = 0; |
| 11 | parser_state_t *state = NULL; |