Login makes server crash ? :S
#4

Quote:
Originally Posted by [DRuG
Scarface ]
I only had a very quick look at it, but a possibility could be under your /login command; you are overloading a string.

pawn Код:
strmid(tmppass, tmp, 0, strlen(cmdtext), 255); // You have declared the length of your destination string (tmppass) as 64, not 255.

// Should be this

strmid(tmppass, tmp, 0, strlen(cmdtext), 64);
// OR
 strmid(tmppass, tmp, 0, strlen(cmdtext), sizeof(tmppass));
Didnt help, Maybe xer0 .. skin ?
Reply


Messages In This Thread
Login makes server crash ? :S - by Typhome - 16.08.2009, 15:25
Re: Login makes server crash ? :S - by [BDC]Scarface - 16.08.2009, 16:32
Re: Login makes server crash ? :S - by xer0 - 16.08.2009, 22:21
Re: Login makes server crash ? :S - by Typhome - 17.08.2009, 19:26
Re: Login makes server crash ? :S - by snoob - 17.08.2009, 19:34
Re: Login makes server crash ? :S - by Typhome - 17.08.2009, 19:37
Re: Login makes server crash ? :S - by Typhome - 17.08.2009, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)