]> git.pld-linux.org Git - packages/Firebird.git/blob - Firebird-btyacc-segv.patch
- fixed build FB 2.1.4
[packages/Firebird.git] / Firebird-btyacc-segv.patch
1 --- Firebird-2.1.3.18185-0/extern/btyacc/main.c.orig    2006-04-29 02:29:46.000000000 +0200
2 +++ Firebird-2.1.3.18185-0/extern/btyacc/main.c 2010-08-29 08:33:44.738817429 +0200
3 @@ -300,7 +300,7 @@
4                 tmpdir = DEFAULT_TMPDIR;
5  
6         len = strlen(tmpdir);
7 -       i = len + 13;
8 +       i = len + 14; /* add len of temp_form + one for NUL */
9         if (len && tmpdir[len-1] != DIR_CHAR)
10                 ++i;
11  
This page took 0.443576 seconds and 3 git commands to generate.