jdonohue    00/03/22 12:00:18

  Modified:    c/src/XPath XPath.cpp
  Log:
  Assertion for function name not null, was causing stack overflow
  
  Revision  Changes    Path
  1.7       +1 -0      xml-xalan/c/src/XPath/XPath.cpp
  
  Index: XPath.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPath.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XPath.cpp 2000/02/17 20:29:52     1.6
  +++ XPath.cpp 2000/03/22 20:00:17     1.7
  @@ -1420,6 +1420,7 @@
        assert(m_expression.getToken(funcID) != 0);
   
        const DOMString         
theFunctionName(m_expression.getToken(funcID)->str());
  +     assert(!isEmpty(theFunctionName));
   
        return s_functions[theFunctionName].execute(executionContext, context, 
opPos, argVec);
   }
  
  
  

Reply via email to