sscanf warning: String buffer overflow
#3

Quote:
Originally Posted by semara123
Посмотреть сообщение
i think the problem is in converting MD5 password in to text password so it made unhandled exception in the mysql then try to recheck ur database and check the define like :

#define ur mysql user
#define ur mysql pass

hope this help if not i'm sorry if i cant help u
I think it's fine, otherwise it wouldn't be saving anything back into the database. I can register an account, but I can't login.

Quote:
Originally Posted by ******
Посмотреть сообщение
Thanks, I guess I'm putting too much data into the string but how should I set up the password field in the DB? it's char(32), as I figure that MD5 always has 32 characters; but that doesn't work. VARCHAR doesn't work either.

Quote:

MD5 generates a 128-bit hash value. You can use CHAR(32) or BINARY(16)

Reply


Messages In This Thread
sscanf warning: String buffer overflow - by HighFlyer - 24.12.2014, 12:21
Re: sscanf warning: String buffer overflow - by semara123 - 24.12.2014, 16:24
Re: sscanf warning: String buffer overflow - by HighFlyer - 24.12.2014, 19:29
Re: sscanf warning: String buffer overflow - by HighFlyer - 25.12.2014, 21:43

Forum Jump:


Users browsing this thread: 1 Guest(s)