提交 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 { ...@@ -117,7 +117,7 @@ typedef struct {
char *exceptionList; 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 #endif
} java_props_t; } java_props_t;
......
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
"sr_SP", "sr_YU", "sr_SP", "sr_YU",
"tchinese", "zh_TW", "tchinese", "zh_TW",
#endif #endif
"" "", "",
}; };
/* /*
...@@ -188,7 +188,7 @@ static char *language_names[] = { ...@@ -188,7 +188,7 @@ static char *language_names[] = {
"japanese", "ja", "japanese", "ja",
"korean", "ko", "korean", "ko",
#endif #endif
"", "", "",
}; };
/* /*
...@@ -201,7 +201,7 @@ static char *script_names[] = { ...@@ -201,7 +201,7 @@ static char *script_names[] = {
"iqtelif", "Latn", "iqtelif", "Latn",
"latin", "Latn", "latin", "Latn",
#endif #endif
"", "", "",
}; };
/* /*
...@@ -212,7 +212,7 @@ static char *country_names[] = { ...@@ -212,7 +212,7 @@ static char *country_names[] = {
"RN", "US", // used on Linux, not clear what it stands for "RN", "US", // used on Linux, not clear what it stands for
#endif #endif
"YU", "CS", // YU has been removed from ISO 3166 "YU", "CS", // YU has been removed from ISO 3166
"", "", "",
}; };
/* /*
...@@ -220,5 +220,5 @@ static char *country_names[] = { ...@@ -220,5 +220,5 @@ static char *country_names[] = {
*/ */
static char *variant_names[] = { static char *variant_names[] = {
"nynorsk", "NY", "nynorsk", "NY",
"", "", "",
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册