version 1.182, 2014/01/27 19:18:54 |
version 1.183, 2014/02/02 03:44:31 |
|
|
passwd = buffer_get_string(&e->request, NULL); |
passwd = buffer_get_string(&e->request, NULL); |
if (locked && !lock && strcmp(passwd, lock_passwd) == 0) { |
if (locked && !lock && strcmp(passwd, lock_passwd) == 0) { |
locked = 0; |
locked = 0; |
memset(lock_passwd, 0, strlen(lock_passwd)); |
explicit_bzero(lock_passwd, strlen(lock_passwd)); |
free(lock_passwd); |
free(lock_passwd); |
lock_passwd = NULL; |
lock_passwd = NULL; |
success = 1; |
success = 1; |
|
|
lock_passwd = xstrdup(passwd); |
lock_passwd = xstrdup(passwd); |
success = 1; |
success = 1; |
} |
} |
memset(passwd, 0, strlen(passwd)); |
explicit_bzero(passwd, strlen(passwd)); |
free(passwd); |
free(passwd); |
|
|
buffer_put_int(&e->output, 1); |
buffer_put_int(&e->output, 1); |