Bump MAX_SHADOW_PWD_PASSWORD_LEN
Fixes #13733. Unlike written in the ticket, the string length is 136 (not 135), and the code checks for rejects anything greater or equal to the max value. So set the constant to 137.
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
|
||||
|
||||
#define MAX_SHADOW_PWD_NAME_LEN (32)
|
||||
#define MAX_SHADOW_PWD_PASSWORD_LEN (128)
|
||||
#define MAX_SHADOW_PWD_PASSWORD_LEN (137)
|
||||
|
||||
#define MAX_SHADOW_PWD_BUFFER_SIZE ( \
|
||||
MAX_SHADOW_PWD_NAME_LEN \
|
||||
|
||||
Reference in New Issue
Block a user