Marti, can you either prove this func is safe, or make it safe :-)
You are right, this is not safe. I have added this to the bug list.
Thanks fort let me know.
Regards
Marti.
----- Original Message -----
From: "Louis Solomon [SteelBytes]" <[EMAIL PROTECTED]>
To: "lcms-user" <lcms-user@lists.sourceforge.net>
Sent: Monday, December 05, 2005 3:00 AM
Subject: [Lcms-user] cmsReadICCText appears to be unsafe ...
I was just recompiling my project that (that obviously uses littlecms) with
visualstudio 2005, and noticed some warnings about strcpy being used, and I
looked further, and I got somewhat scared by the CopyMemory in
cmsReadICCText(). feels like stack buffer overflow territtory.
Marti, can you either prove this func is safe, or make it safe :-)
Louis Solomon
www.SteelBytes.com
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user