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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
frosch 10 years ago
parent 5b707e9db8
commit 43e82ded9a

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

Loading…
Cancel
Save