1
0
Fork 0

(svn r26764) -Fix: Buffer overrun in SQCompiler::Error. (kalenz)

release/1.5
frosch 2014-08-31 10:20:30 +00:00
parent 5b707e9db8
commit 43e82ded9a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}