[patch] crash on broken Netscape plugins cache

David Faure faure at kde.org
Tue Sep 16 10:13:03 BST 2008


On Sunday 04 November 2007, Luigi Toscano wrote:
> Hi,
> I found a problem with the plugin cache in konqueror.
> If the cache is broken (with invalid lines) and a page that requires
> plugin(s) is loaded, konqueror crashes reading the cache
> (cachebroken_onloading.txt).
> I don't know why the problem is not triggered on kde 3.5.x (code is
> quite the same ).

The assert from out-of-range access in Qt containers was non-fatal in Qt3,
and is fatal in Qt4.

> The broken cache is cache.txt (NP_GetMIMEDescription  returns "strange"
> informations for mozplugger).
> 
> The trivial patch attached (patch_nsplugin.txt) introduces two checks
> and seems to solve the problem (at least for me :)
 
Thanks, applied.
Yeah I know, it's about time :)
Far too many emails....

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list