Posted by Kevin Kofler on May 15, 2012; 5:20pm URL: http://digikam.185.s1.nabble.com/Bug-299886-New-ShowFoto-crash-while-saving-PNG-tp4628966p4634922.html
--- Comment #25 from Kevin Kofler <[hidden email]> ---
So, the profile ID is an MD5, it also says "7.2.18 Profile ID field (Bytes 84
to 99)". This means you need to allocate a cmsUInt8Number[16], which is also
what e.g. http://mail.gnome.org/archives/commits-list/2011-April/msg04234.html does. (And the Valgrind log also says that, because the write at byte 12 is of
size 4, and there are no further offending writes.)