[Kdelibs-bugs] [BUG] Crash in Download Progress

Rafael Fernández López ereslibre at kde.org
Thu Nov 1 14:06:25 CET 2007


Attached is a patch. QByteArray is implicitly shared. When you create with the 
copy constructor another object, they are internally shared, and when one of 
them is destroyed and the other tries to access, boom !!

Here is a patch attached that fixes this crash.

OK to commit ?

Rafael Fernández López

GPG Fingerprint: B9F4 4730 43F8 FFDD CC5E BA8E 724E 406E 3F01 D070
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.diff
Type: text/x-diff
Size: 487 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kdelibs-bugs/attachments/20071101/7e30ac0f/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kdelibs-bugs/attachments/20071101/7e30ac0f/attachment.pgp 

More information about the Kdelibs-bugs mailing list