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:
Adrien Destugues
2017-11-23 13:00:48 +01:00
parent eb5604bcb0
commit 8903cd4256
+1 -1
View File
@@ -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 \