mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-13 09:23:20 +00:00
8048515: Read outside array bounds in jdk/src/solaris/native/java/lang/java_props_md.c
Reviewed-by: okutsu
This commit is contained in:
parent
7c04b45666
commit
f38db6ce11
@ -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",
|
||||
"",
|
||||
"", "",
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user