From: <asf...@us...> - 2011-03-29 00:58:07
|
Revision: 52602 http://firebird.svn.sourceforge.net/firebird/?rev=52602&view=rev Author: asfernandes Date: 2011-03-29 00:58:01 +0000 (Tue, 29 Mar 2011) Log Message: ----------- Fixed memory corruption in btyacc code. Modified Paths: -------------- firebird/branches/B2_5_Release/extern/btyacc/main.c Modified: firebird/branches/B2_5_Release/extern/btyacc/main.c =================================================================== --- firebird/branches/B2_5_Release/extern/btyacc/main.c 2011-03-29 00:57:20 UTC (rev 52601) +++ firebird/branches/B2_5_Release/extern/btyacc/main.c 2011-03-29 00:58:01 UTC (rev 52602) @@ -307,7 +307,7 @@ tmpdir = DEFAULT_TMPDIR; len = strlen(tmpdir); - i = len + 13; + i = len + strlen(temp_form) + 1; if (len && tmpdir[len-1] != DIR_CHAR) ++i; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |