crash on acid3 test

Martin Koller kollix at aon.at
Sun Jul 3 18:47:16 BST 2011


Hi,

looking at bug https://bugs.kde.org/show_bug.cgi?id=271476
I see a crash in kdelibs/kjs/bytecode/machine.cpp.in line 210
in changeDebugContext() where valgrind found a 0-pointer deref.

    if (d == Enter)
        dbg->enterContext(exec, body->sourceId(), body->firstLine(), fn, args);
    else
        dbg->exitContext(exec, body->sourceId(), body->lastLine(), fn);

it seems dbg can be 0 but is not checked here.

Any idea for the correct fix ?

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20110703/1e8710da/attachment.sig>


More information about the kfm-devel mailing list