提交 6ab73870 编写于 作者: N naoto

8048515: Read outside array bounds in jdk/src/solaris/native/java/lang/java_props_md.c

Reviewed-by: okutsu
上级 115011af
......@@ -117,7 +117,7 @@ typedef struct {
char *exceptionList;
char *awt_headless /* java.awt.headless setting, if NULL (default) will not be set */
char *awt_headless; /* java.awt.headless setting, if NULL (default) will not be set */
#endif
} java_props_t;
......
......@@ -135,7 +135,7 @@
"sr_SP", "sr_YU",
"tchinese", "zh_TW",
#endif
""
"", "",
};
/*
......@@ -188,7 +188,7 @@ static char *language_names[] = {
"japanese", "ja",
"korean", "ko",
#endif
"",
"", "",
};
/*
......@@ -201,7 +201,7 @@ static char *script_names[] = {
"iqtelif", "Latn",
"latin", "Latn",
#endif
"",
"", "",
};
/*
......@@ -212,7 +212,7 @@ static char *country_names[] = {
"RN", "US", // used on Linux, not clear what it stands for
#endif
"YU", "CS", // YU has been removed from ISO 3166
"",
"", "",
};
/*
......@@ -220,5 +220,5 @@ static char *country_names[] = {
*/
static char *variant_names[] = {
"nynorsk", "NY",
"",
"", "",
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册