+++ /dev/null
---- Firebird-2.1.3.18185-0/extern/btyacc/main.c.orig 2006-04-29 02:29:46.000000000 +0200
-+++ Firebird-2.1.3.18185-0/extern/btyacc/main.c 2010-08-29 08:33:44.738817429 +0200
-@@ -300,7 +300,7 @@
- tmpdir = DEFAULT_TMPDIR;
-
- len = strlen(tmpdir);
-- i = len + 13;
-+ i = len + 14; /* add len of temp_form + one for NUL */
- if (len && tmpdir[len-1] != DIR_CHAR)
- ++i;
-