diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c index c5921902a..b28a48a51 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -3059,7 +3059,7 @@ int parse_login(int fd) { } else { struct login_session_data *ld = session[fd]->session_data; if (RFIFOW(fd,2) == 0) { // non encrypted password - unsigned char* password; + unsigned char* password=""; memcpy(password, RFIFOP(fd,4), 24); password[24] = '\0'; remove_control_chars(password); |