diff options
author | valaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-14 17:11:10 +0000 |
---|---|---|
committer | valaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-14 17:11:10 +0000 |
commit | f9db46c8fa41c2cfe599ced9787263ff22e6cb14 (patch) | |
tree | e0831cee79c4d6cd2b072f09e5929ec44697b426 /src | |
parent | 9b255549bb0d8e5c499a88564d1f91ea400a2cde (diff) | |
download | hercules-f9db46c8fa41c2cfe599ced9787263ff22e6cb14.tar.gz hercules-f9db46c8fa41c2cfe599ced9787263ff22e6cb14.tar.bz2 hercules-f9db46c8fa41c2cfe599ced9787263ff22e6cb14.tar.xz hercules-f9db46c8fa41c2cfe599ced9787263ff22e6cb14.zip |
Initialized password variable in login.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@176 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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); |