sscanf warning string buffer overflow - 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: sscanf warning string buffer overflow (
/showthread.php?tid=369829)
sscanf warning string buffer overflow -
No Fear - 18.08.2012
Hi, what can be wrong in this code, i get 3 sscanf warning string buffer overflow, errors in this code:
http://pastebin.com/jDJqBw05
Re: sscanf warning string buffer overflow - Jarnu - 18.08.2012
its too much long... isn't it?
pawn Код:
if ( sscanf( string, "p<|>ds[24]s[24]s[24]s[11]ddddddlddddfffldddddddddddlddddddddddddddddddddddlll\
lllddddddddddddddddddddddddddddddds[28]ds[28]ds[28]ds[28]",
and its OFC it will give you OVERFLOW warning.
Re: sscanf warning string buffer overflow -
No Fear - 18.08.2012
it's abit long, i will try to split them.
Re: sscanf warning string buffer overflow -
No Fear - 18.08.2012
When i try to split that code, it just dont load second part of it.