[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/html
From: Harri Porten <porten () kde ! org>
Date: 2007-02-11 15:58:28
Message-ID: 1171209508.594973.32172.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 632543 by porten:
prevent crash reported in #105899. whether this report was really a
duplicate of #74569 I don't know. Unlike in the other backtraces we
had a easy-to-catch null pointer here.
M +1 -1 html_formimpl.cpp
--- branches/KDE/3.5/kdelibs/khtml/html/html_formimpl.cpp #632542:632543
@@ -512,7 +512,7 @@
m_havePassword = false;
m_haveTextarea = false;
const KURL formUrl(getDocument()->URL());
- if (!view->nonPasswordStorableSite(formUrl.host())) {
+ if (view && !view->nonPasswordStorableSite(formUrl.host())) {
for (QPtrListIterator<HTMLGenericFormElementImpl> it(formElements); it.current(); ++it) {
if (it.current()->id() == ID_INPUT) {
HTMLInputElementImpl* const c = static_cast<HTMLInputElementImpl*> (it.current());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic