From b75d1acb21df1d9103472b169efffd21074eec05 Mon Sep 17 00:00:00 2001 From: Alex Taber Date: Thu, 11 Jun 2020 20:41:17 -0400 Subject: [PATCH] Fix crash caused by quirc overflowing the 3ds stack in some instances --- source/quirc/identify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/quirc/identify.c b/source/quirc/identify.c index 4756699..5a5881d 100644 --- a/source/quirc/identify.c +++ b/source/quirc/identify.c @@ -122,7 +122,7 @@ static void perspective_unmap(const double *c, * Span-based floodfill routine */ -#define FLOOD_FILL_MAX_DEPTH 4096 +#define FLOOD_FILL_MAX_DEPTH 128 typedef void (*span_func_t)(void *user_data, int y, int left, int right);