[webkit-changes] cvs commit: WebCore/khtml/xml xml_tokenizer.cpp

Darin darin at opensource.apple.com
Thu Dec 15 23:28:03 PST 2005


darin       05/12/15 23:28:03

  Modified:    .        ChangeLog
               khtml/xml xml_tokenizer.cpp
  Log:
          * khtml/xml/xml_tokenizer.cpp: (khtml::XMLTokenizer::exitText):
          Add missing null check.
  
  Revision  Changes    Path
  1.543     +5 -0      WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.542
  retrieving revision 1.543
  diff -u -r1.542 -r1.543
  --- ChangeLog	16 Dec 2005 06:39:55 -0000	1.542
  +++ ChangeLog	16 Dec 2005 07:27:58 -0000	1.543
  @@ -1,3 +1,8 @@
  +2005-12-15  Darin Adler  <darin at apple.com>
  +
  +        * khtml/xml/xml_tokenizer.cpp: (khtml::XMLTokenizer::exitText):
  +        Add missing null check.
  +
   2005-12-15  Geoffrey Garen  <ggaren at apple.com>
   
           Fixed <rdar://problem/4381444> Remove GMail-specific work-around 
  
  
  
  1.59      +1 -1      WebCore/khtml/xml/xml_tokenizer.cpp
  
  Index: xml_tokenizer.cpp
  ===================================================================
  RCS file: /cvs/root/WebCore/khtml/xml/xml_tokenizer.cpp,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- xml_tokenizer.cpp	16 Dec 2005 06:33:36 -0000	1.58
  +++ xml_tokenizer.cpp	16 Dec 2005 07:28:02 -0000	1.59
  @@ -428,7 +428,7 @@
       if (m_parserStopped)
           return;
   
  -    if (!m_currentNode->isTextNode())
  +    if (!m_currentNode || !m_currentNode->isTextNode())
           return;
   
       if (m_view && m_currentNode && !m_currentNode->attached())
  
  
  



More information about the webkit-changes mailing list