Summary: | css crash in blank page adding a dot | ||
---|---|---|---|
Product: | quanta | Reporter: | Rafael Matito <rafa_matito> |
Component: | general | Assignee: | András Manţia <amantia> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Rafael Matito
2004-05-25 09:57:34 UTC
CVS commit by amantia: Don't crash when inserting a dot in an empty CSS file CCMAIL: 82143-done@bugs.kde.org M +1 -0 ChangeLog 1.286 M +2 -2 parsers/saparser.cpp 1.44 --- kdewebdev/quanta/ChangeLog #1.285:1.286 @@ -24,4 +24,5 @@ context menu - unconditionally hide the splash screen after 10 seconds [#80086, #82013] + - don't crash when inserting a dot in an empty CSS file [#82143] - behavioral/user interface changes: --- kdewebdev/quanta/parsers/saparser.cpp #1.43:1.44 @@ -746,5 +746,5 @@ Node *SAParser::parsingDone() { n = s_currentNode; - while (n->prev) + while (n && n->prev) n = n->prev; s_currentNode = n; @@ -771,5 +771,5 @@ Node *SAParser::parsingDone() if (s_fullParse && m_currentNode) { - if (m_useNext) + if (m_useNext && s_currentNode) { Node *n = s_currentNode; |