Commit 2874fd14 authored by Alan Coopersmith's avatar Alan Coopersmith Committed by Ulrich Sibiller

XDefaultOMIF: Remove comments referring to ancient Sun bug ids

parent d980be3c
...@@ -369,11 +369,7 @@ parse_fontname( ...@@ -369,11 +369,7 @@ parse_fontname(
found_num++; found_num++;
goto found; goto found;
} }
/*
1266793
Limit the length of the string copy to prevent stack corruption.
strcpy(buf, pattern);
*/
strncpy(buf, pattern, BUFSIZ); strncpy(buf, pattern, BUFSIZ);
buf[BUFSIZ-1] = '\0'; buf[BUFSIZ-1] = '\0';
length = strlen(buf); length = strlen(buf);
...@@ -425,11 +421,6 @@ Limit the length of the string copy to prevent stack corruption. ...@@ -425,11 +421,6 @@ Limit the length of the string copy to prevent stack corruption.
for ( ; font_data_count-- > 0; font_data++) { for ( ; font_data_count-- > 0; font_data++) {
if (append_charset) if (append_charset)
{ {
/*
1266793
Limit the length of the string copy to prevent stack corruption.
strcpy(last, font_data->name);
*/
strncpy(last, font_data->name, BUFSIZ - length); strncpy(last, font_data->name, BUFSIZ - length);
buf[BUFSIZ-1] = '\0'; buf[BUFSIZ-1] = '\0';
} }
...@@ -1015,11 +1006,7 @@ add_data( ...@@ -1015,11 +1006,7 @@ add_data(
static _Xconst char *supported_charset_list[] = { static _Xconst char *supported_charset_list[] = {
"ISO8859-1", "ISO8859-1",
/* fix for bug4332979 */
"adobe-fontspecific", "adobe-fontspecific",
/* fix for bug4237353: "JISX0201.1976-0" entry should be removed from
supported_charset_list because it is not a supported_charset for C locale
"JISX0201.1976-0", */
"SUNOLCURSOR-1", "SUNOLCURSOR-1",
"SUNOLGLYPH-1" "SUNOLGLYPH-1"
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment