Added MAX_PASSWORD_SIZE set to 64

fixes #245
This commit is contained in:
James Booth
2013-11-07 22:15:43 +00:00
parent 1248f49cfa
commit 99d3322834
3 changed files with 5 additions and 2 deletions

View File

@@ -3530,7 +3530,7 @@ _cmd_xa(gchar **args, struct cmd_help_t help)
static char *
_ask_password(void) {
char *passwd = malloc(sizeof(char) * 21);
char *passwd = malloc(sizeof(char) * (MAX_PASSWORD_SIZE + 1));
status_bar_get_password();
status_bar_refresh();
inp_block();