projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81bb927
)
By jimcuclamath: set maxium allowed password length to the length of the buffer we...
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 30 Jan 2011 10:00:47 +0000
(11:00 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 30 Jan 2011 10:46:52 +0000
(11:46 +0100)
citadel/textclient/citadel.c
patch
|
blob
|
history
diff --git
a/citadel/textclient/citadel.c
b/citadel/textclient/citadel.c
index b1abf294794d19638ebf0b99088580df4b5a808d..84abf4e94d3de169b84b93a14656c6b0cb2ea606 100644
(file)
--- a/
citadel/textclient/citadel.c
+++ b/
citadel/textclient/citadel.c
@@
-1689,7
+1689,7
@@
int main(int argc, char **argv)
if (!IsEmptyStr(rc_password)) {
strcpy(password, rc_password);
} else {
- newprompt("\rPlease enter your password: ", password, -
19
);
+ newprompt("\rPlease enter your password: ", password, -
(SIZ-1)
);
}
if (*nonce) {