[patch] crash on broken Netscape plugins cache

Luigi Toscano luigi.toscano at tiscali.it
Sun Nov 4 22:49:24 GMT 2007


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 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 :)

Regards,
-- 
Luigi




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_nsplugin.txt
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20071104/8770ef08/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cachebroken_onloading.txt.gz
Type: application/x-tar
Size: 3200 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20071104/8770ef08/attachment.tar>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cache.txt.gz
Type: application/x-tar
Size: 1635 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20071104/8770ef08/attachment-0001.tar>


More information about the kfm-devel mailing list