Changeset - r21632:5ebeecba8f87
[Not reviewed]
master
0 1 0
frosch - 10 years ago 2014-08-31 10:20:30
frosch@openttd.org
(svn r26764) -Fix: Buffer overrun in SQCompiler::Error. (kalenz)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/3rdparty/squirrel/squirrel/sqcompiler.cpp
Show inline comments
 
@@ -66,7 +66,7 @@ public:
 
		static SQChar temp[256];
 
		va_list vl;
 
		va_start(vl, s);
 
		scvsprintf(temp, s, vl);
 
		scvsnprintf(temp, sizeof(temp), s, vl);
 
		va_end(vl);
 
		throw temp;
 
	}
0 comments (0 inline, 0 general)