[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 94812] popup windows from Konqueror have a security bug
From: Waldo Bastian <bastian () kde ! org>
Date: 2004-12-12 15:44:57
Message-ID: 20041212154457.17181.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=94812
------- Additional Comments From bastian kde org 2004-12-12 16:44 -------
CVS commit by waba:
Let findFrameParent check framename against name of current part if the part is
a toplevel part.
CCBUG: 94812
M +4 -1 khtml_part.cpp 1.1060
--- kdelibs/khtml/khtml_part.cpp #1.1059:1.1060
@ -4807,5 +4807,5 @ KHTMLPart::findFrameParent( KParts::Read
{
#ifdef DEBUG_FINDFRAME
- kdDebug(6050) << "KHTMLPart::findFrameParent: this = " << this << " URL = " << \
m_url << " findFrameParent( " << f << " )" << endl; + kdDebug(6050) << \
"KHTMLPart::findFrameParent: this = " << this << " URL = " << m_url << " name = " << \
name() << " findFrameParent( " << f << " )" << endl; #endif
// Check access
@ -4815,4 +4815,7 @ KHTMLPart::findFrameParent( KParts::Read
return 0;
+ if (!childFrame && !parentPart() && (name() == f))
+ return this;
+
FrameIt it = d->m_frames.find( f );
const FrameIt end = d->m_frames.end();
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic