Skip to content

Commit

Permalink
Increase layer/clip nesting depth limit.
Browse files Browse the repository at this point in the history
To allow processing test file sumatrapdf/draw_stack_overflow.pdf without
errors.
  • Loading branch information
ccxvii authored and sebras committed Aug 30, 2024
1 parent 3230d38 commit 1d58f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/pdf/pdf-op-run.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ struct pdf_run_processor

int mc_depth;
int nest_depth;
int nest_mark[256];
int nest_mark[1024];
};

/* Forward definition */
Expand Down

0 comments on commit 1d58f73

Please sign in to comment.