Question Help: sscanf warning - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question Help: sscanf warning (
/showthread.php?tid=357917)
Question Help: sscanf warning -
Speed++ - 08.07.2012
i use sscanf 2.6
PHP код:
[21:49:49] sscanf warning: String buffer overflow.
PHP код:
new
temp_str[24]
// code....
sscanf(params, "s[24]", temp_str);
// code ....
Re: Question Help: sscanf warning -
Speed++ - 08.07.2012

Re: Question Help: sscanf warning -
MadSkillz - 08.07.2012
https://sampforum.blast.hk/showthread.php?tid=120356
Look at the string buffer overflow part within this post.
Quote:
This error comes up when people try and put too much data in to a string