Patch for 68523

Allan Sandfeld Jensen kde at carewolf.com
Wed Sep 29 14:03:37 BST 2004


Hi

I have a possible patch for bug 68523 
<http://bugs.kde.org/show_bug.cgi?id=68523>, and would like to have it 
reviewed.

Basically the crash happens when a subcall of the htmltokenizer::executeScript 
ends up deleting the tokenizer itself. This can create crashes several 
different places. 

This patch adds a function isExecutingScript which docimpl.cpp will check 
before deleting the tokenizer. As far as I can see, the tokenizer will still 
be deleted later by the nofityFinished()-call, but otherwise it just needs an 
extra function that hints it should delete itself after it is done executing 
scripts.

The patch is attached.

`Allan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash.patch
Type: text/x-diff
Size: 5361 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040929/687dd5a8/attachment.patch>


More information about the kfm-devel mailing list