[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bkdelibs/KDE/4=2E6=5D_khtml/kmultipart=3A_Fix_crash_?=
From:       David Faure <faure () kde ! org>
Date:       2011-02-24 16:05:13
Message-ID: 20110224160513.17401A609B () git ! kde ! org
[Download RAW message or body]

Git commit 65670a8327ee270ef01db8b97f8c2b8799ad7bb8 by David Faure.
Committed on 24/02/2011 at 17:01.
Pushed by dfaure into branch 'KDE/4.6'.

Fix crash when following a link to a multipart/mixed url

componentData() returned an invalid KComponentData, for lack of a name
passed to the ctor.

M  +1    -1    khtml/kmultipart/kmultipart.cpp     

http://commits.kde.org/kdelibs/65670a8327ee270ef01db8b97f8c2b8799ad7bb8

diff --git a/khtml/kmultipart/kmultipart.cpp b/khtml/kmultipart/kmultipart.cpp
index 214ddb1..cfbda5b 100644
--- a/khtml/kmultipart/kmultipart.cpp
+++ b/khtml/kmultipart/kmultipart.cpp
@@ -37,7 +37,7 @@
 #include <kvbox.h>
 
 K_PLUGIN_FACTORY(KMultiPartFactory, registerPlugin<KMultiPart>();)
-K_EXPORT_PLUGIN(KMultiPartFactory)
+K_EXPORT_PLUGIN(KMultiPartFactory("kmultipart"))
 
 //#define DEBUG_PARSING
 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic