From c844e3d179e92f5e7197186b351962933b30709c Mon Sep 17 00:00:00 2001 From: selsta Date: Mon, 15 Nov 2021 08:24:28 +0100 Subject: [PATCH] zxcvbn: fix buffer overflow Original patch by hannob --- src/zxcvbn-c/zxcvbn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zxcvbn-c/zxcvbn.c b/src/zxcvbn-c/zxcvbn.c index f9319aaf..ef60849c 100644 --- a/src/zxcvbn-c/zxcvbn.c +++ b/src/zxcvbn-c/zxcvbn.c @@ -516,7 +516,7 @@ typedef struct uint8_t LeetCnv[sizeof L33TCnv / LEET_NORM_MAP_SIZE + 1]; /* uint8_t LeetChr[3]; */ uint8_t First; - uint8_t PossChars[48]; + uint8_t PossChars[49]; } DictWork_t; /**********************************************************************************