Review Request: Fix KPixmapCache crash (probably because of pointer aliasing in unions)

Michael Pyne mpyne at purinchu.net
Tue May 26 01:23:55 BST 2009


On Monday 25 May 2009 03:55:37 Johannes Sixt wrote:
> The correct solution is to change the union to
>
>      union bla {
>         some_type a;
>         some_other_type b;
>      };
>      bla* memory;
>
> and use that appropriately.

Even better then.

Regards,
 - Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090525/7633cbef/attachment.sig>


More information about the kde-core-devel mailing list