Quote:
Originally Posted by Y_Less
- sscanf warning: String buffer overflow.
This error comes up when people try and put too much data in to a string. For example:
pawn Code:
new str[10]; sscanf("Hello there, how are you?", "s[10]", str);
That code will try and put the string "Hello there, how are you?" in to the variable called "str". However, "str" is only 10 cells big and can thus only hold the string "Hello ther" (with a NULL terminator). In this case, the rest of the data is ignored - which could be good or bad:
|
as long as you don't have any other sscanf lines, then I'd say this one is the culprit.