You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/03/07 06:44:51 UTC

cvs commit: xml-xalan/c/src/XPath XPathProcessorImpl.cpp

dbertoni    02/03/06 21:44:51

  Modified:    c/src/XPath XPathProcessorImpl.cpp
  Log:
  Fixed index out-of-bounds error.  Fixes bug 6919.
  
  Revision  Changes    Path
  1.50      +1 -1      xml-xalan/c/src/XPath/XPathProcessorImpl.cpp
  
  Index: XPathProcessorImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathProcessorImpl.cpp,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- XPathProcessorImpl.cpp	23 Feb 2002 04:22:09 -0000	1.49
  +++ XPathProcessorImpl.cpp	7 Mar 2002 05:44:51 -0000	1.50
  @@ -499,7 +499,7 @@
   	{
   		if(!isStart)
   		{
  -			m_expression->adjustPattern(m_expression->patternMapSize(),
  +			m_expression->adjustPattern(m_expression->patternMapSize() - 1,
   										-TARGETEXTRA);
   		}
   
  
  
  

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