zxcvbn: fix buffer overflow

Original patch by hannob
This commit is contained in:
selsta 2021-11-15 08:24:28 +01:00
parent ecf5c501d6
commit c844e3d179
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -516,7 +516,7 @@ typedef struct
uint8_t LeetCnv[sizeof L33TCnv / LEET_NORM_MAP_SIZE + 1]; uint8_t LeetCnv[sizeof L33TCnv / LEET_NORM_MAP_SIZE + 1];
/* uint8_t LeetChr[3]; */ /* uint8_t LeetChr[3]; */
uint8_t First; uint8_t First;
uint8_t PossChars[48]; uint8_t PossChars[49];
} DictWork_t; } DictWork_t;
/********************************************************************************** /**********************************************************************************