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

Reviewed-by: okutsu
This commit is contained in:
Naoto Sato 2014-07-09 10:02:30 -07:00
parent 7c04b45666
commit f38db6ce11
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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",
"",
"", "",
};