Skip to content
Snippets Groups Projects
Commit a3a42c27 authored by Khaled Noaman's avatar Khaled Noaman
Browse files

[Bug 13604] while loop never terminates.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174280 13f79535-47bb-0310-9956-ffa450edef68
parent 4223b93f
No related branches found
No related tags found
No related merge requests found
......@@ -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 @@ int RegularExpression::match(Context* const context, const Op* const operations
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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment