Loading

Paste #pqrfaafoh

  1. Index: src/3rdparty/squirrel/squirrel/sqcompiler.cpp
  2. ===================================================================
  3. --- src/3rdparty/squirrel/squirrel/sqcompiler.cpp       (revision 26763)
  4. +++ src/3rdparty/squirrel/squirrel/sqcompiler.cpp       (working copy)
  5. @@ -66,7 +66,7 @@
  6.                 static SQChar temp[256];
  7.                 va_list vl;
  8.                 va_start(vl, s);
  9. -               scvsprintf(temp, s, vl);
  10. +               scvsnprintf(temp, sizeof(temp), s, vl);
  11.                 va_end(vl);
  12.                 throw temp;
  13.         }

Comments