From: Adriano d. S. F. <asf...@us...> - 2009-03-29 15:23:39
|
Build Version : T2.5.0.23288 Firebird 2.5 Beta 1 (writeBuildNum.sh,v 1.23450 2009/03/29 15:23:32 asfernandes ) Update of /cvsroot/firebird/firebird2/src/jrd In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2537/src/jrd Modified Files: SimilarToMatcher.h Log Message: Misc Index: SimilarToMatcher.h =================================================================== RCS file: /cvsroot/firebird/firebird2/src/jrd/SimilarToMatcher.h,v retrieving revision 1.20 retrieving revision 1.21 diff -b -U3 -r1.20 -r1.21 --- SimilarToMatcher.h 26 Mar 2009 16:33:19 -0000 1.20 +++ SimilarToMatcher.h 29 Mar 2009 15:23:31 -0000 1.21 @@ -1090,6 +1090,7 @@ case opRef: if (node->branchNum != -1) { + fb_assert(unsigned(node->branchNum) <= branchNum); branches[node->branchNum].length = bufferPos - bufferStart - branches[node->branchNum].start; } @@ -1335,6 +1336,7 @@ { if (node->branchNum != -1) { + fb_assert(unsigned(node->branchNum) <= branchNum); branches[node->branchNum].length = bufferPos - bufferStart - branches[node->branchNum].start; } |