mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-29 01:28:47 -04:00
Fix stack buffer overflow in zxcvbn.
The array PossChars is filled with a 48 byte string plus a trailing zero byte. Therefore it needs to be 49 bytes long.
This commit is contained in:
parent
52ab7b8865
commit
3e76f7af0f
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,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;
|
||||
|
||||
/**********************************************************************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue