# OTHER_LFLAGS other flags to be passed to the link stage
#
-CURRENT_PROJECT_VERSION = 299.33
+CURRENT_PROJECT_VERSION = 299.35
# First figure out the platform if not specified, so we can use it in the
# rest of this file. Currently defined values: Darwin, Linux, FreeBSD, WIN32
#if !defined(__MACOS8__)
CF_INLINE void __CFUniCharCharacterSetPath(char *cpath) {
- strcpy(cpath, __kCFCharacterSetDir);
- strcat(cpath, "/CharacterSets/");
+ strlcpy(cpath, __kCFCharacterSetDir, MAXPATHLEN);
+ strlcat(cpath, "/CharacterSets/", MAXPATHLEN);
}
static bool __CFUniCharLoadBytesFromFile(const char *fileName, const void **bytes) {
char cpath[MAXPATHLEN];
__CFUniCharCharacterSetPath(cpath);
- strcat(cpath, bitmapName);
+ strlcat(cpath, bitmapName, MAXPATHLEN);
return __CFUniCharLoadBytesFromFile(cpath, bytes);
}