mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-14 04:53:12 -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
@ -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…
x
Reference in New Issue
Block a user