Hello Marti,

I have encountered some warnings reported by some tool in LCMS source code.
I am using LCMS 1.7

1. cmscgats.c

     You might overrun the 128 byte fixed-size string
"it8->DoubleFormatter" by copying "Formatter" without checking the length.
      In line:
     else
        strcpy(it8->DoubleFormatter, Formatter);

Here, can we use strncpy and check for length(128) also?

There are more similar type of warnings.


-- 
Regards,
Gaurav
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to