I was trying to use cmsWriteRawTag() to create corrupt profiles for
testing error handling in colord, specifically putting non-UTF-8 text
in a cmsSigCopyrightTag.

The bug is simple to explain; calling cmsWriteRawTag() fails when the
tag already exists.

I can work around this bug by calling cmsWriteTag(p,sig,NULL) before
the call to cmsWriteRawTag(), although interestingly the call to
cmsWriteTag fails, which leads me to think I'm operating on dodgy
ground. :)

Comments welcome, and happy Christmas everyone. Thanks.

Richard

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to