Patch for KisBrush::scaleImage

Sven Langkamp sven.langkamp at gmail.com
Sun Mar 28 20:49:15 CEST 2010


Hi,

I have been trying to investigate
https://bugs.kde.org/show_bug.cgi?id=229512
I have attached a patch from which I think that it fixes the crash, though
I'm not sure as I don't completely grasp it and therefor post of for review.

Without the patch it might happen that we pass a negative index to scanline.



Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20100328/ba1e6eed/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scaleImage.diff
Type: text/x-patch
Size: 1101 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20100328/ba1e6eed/attachment.diff 


More information about the kimageshop mailing list