[argyllcms] Re: ArgyllCMS V1.1.0 is now released

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 18 Jan 2010 23:15:23 +1100

Florian Höch wrote:
I think I have found a bug in dispwin (64-bit version, under Ubuntu Karmic) when using the -Sl -I options. It seems to be related to the length of the filename of the profile to be installed, if it's longer than 12 characters, dispwin crashes. I've attached a log.

Hi,
   thanks - it is a typo on line 190 of ucmm/ucmm.c:

-    if ((data_name = malloc(strlen(tt) + cnl + 2)) == NULL) {
+    if ((data_name = malloc(strlen(tt) + pnl + 2)) == NULL) {

and on line 529:

-    if ((data_name = malloc(strlen(tt) + cnl + 2)) == NULL) {
+    if ((data_name = malloc(strlen(tt) + pnl + 2)) == NULL) {

Graeme Gill.

Other related posts: