Red Hat Bugzilla – Bug 239147
bug: vararg function called true a wrong function pointer
Last modified: 2007-11-30 17:12:03 EST
Description of problem:
The function ufraw_message is varargs, but it is passed to cmsSetErrorHandler
that expects a two argument function.
This bug is fixed is CVS. They have a new function:
int lcms_message(int ErrorCode, const char *ErrorText)
/* Possible ErrorCode:
* LCMS_ERRC_WARNING 0x1000
* LCMS_ERRC_RECOVERABLE 0x2000
* LCMS_ERRC_ABORTED 0x3000 */
ufraw_message(UFRAW_ERROR, "%s", ErrorText);
return 1; /* Tell lcms that we handled the error */
That is passed to cmsSetErrorHandler.
Version-Release number of selected component (if applicable):
Create an error condition. Like setup an icc file and then move it. On amd64 the
program will crash when loading an image.
Steps to Reproduce:
Created attachment 154198 [details]
patch that is include in cvs
I've build updated packages for fc6, f7 and devel.
ufraw-0.11-8.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.