sscanf warning: String buffer overflow.
#1

Код:
sscanf(line, "p<|>{iffiiiiiii}i{ii}s[24]is[40]", Rankk, CharacterName, MemberID, LastSeen );
What's wrong?
Reply
#2

It means that the string length specified in sscanf is longer than the array variable you are saving it to.
Reply
#3

Thanks, fixed
Reply
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
Actually it means that the string you tried to store in the buffer is longer than the specified string.
Ah I see, apologies for the lack of correct explanation, I don't use the new sscanf, I still use the good old include version
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)