You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2002/10/15 20:56:02 UTC

cvs commit: xml-xerces/c/src/xercesc/util/regx RegularExpression.cpp

knoaman     2002/10/15 11:56:02

  Modified:    c/src/xercesc/util/regx RegularExpression.cpp
  Log:
  [Bug 13604] while loop never terminates.
  
  Revision  Changes    Path
  1.3       +5 -2      xml-xerces/c/src/xercesc/util/regx/RegularExpression.cpp
  
  Index: RegularExpression.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/regx/RegularExpression.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RegularExpression.cpp	18 Mar 2002 19:29:53 -0000	1.2
  +++ RegularExpression.cpp	15 Oct 2002 18:56:02 -0000	1.3
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.3  2002/10/15 18:56:02  knoaman
  + * [Bug 13604] while loop never terminates.
  + *
    * Revision 1.2  2002/03/18 19:29:53  knoaman
    * Change constant names to eliminate possible conflict with user defined ones.
    *
  @@ -693,13 +696,13 @@
   		case Op::O_ANCHOR:
   			if (!matchAnchor(context, tmpOp->getData(), offset))
   				return -1;
  -			tmpOp->getNextOp();
  +			tmpOp = tmpOp->getNextOp();
   			break;
   		case Op::O_BACKREFERENCE:
   			if (!matchBackReference(context, tmpOp->getData(), offset,
   									direction, ignoreCase))
   				return -1;
  -			tmpOp->getNextOp();
  +			tmpOp = tmpOp->getNextOp();
   			break;
   		case Op::O_STRING:
   			if (!matchString(context, tmpOp->getLiteral(), offset, direction,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org