[Digikam-devel] [Bug 299886] ShowFoto crash while saving PNG

Kevin Kofler kevin.kofler at chello.at
Tue May 15 18:10:46 BST 2012


https://bugs.kde.org/show_bug.cgi?id=299886

--- Comment #24 from Kevin Kofler <kevin.kofler at chello.at> ---
The linked location is exactly the source of the error. You're allocating a
single cmsUInt8Number (a single byte!) with new, then you're passing it to
cmsGetHeaderProfileID, which clearly expects a whole array of cmsUInt8Number
(it's writing to byte 12, i.e. the thirteenth byte, of what it thinks is an
array of cmsUInt8Number). So this needs at least a cmsUInt8Number[13], please
check the documentation for how big the array really needs to be.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list