changeset 9876:c0e8545df8e8

8048515: Read outside array bounds in jdk/src/solaris/native/java/lang/java_props_md.c Reviewed-by: okutsu
author naoto
date Wed, 30 Jul 2014 09:20:26 -0700
parents a5b93419b337
children 1faccfb6cc00
files src/share/native/java/lang/java_props.h src/solaris/native/java/lang/locale_str.h
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/java/lang/java_props.h	Wed Jul 30 16:11:06 2014 +0400
+++ b/src/share/native/java/lang/java_props.h	Wed Jul 30 09:20:26 2014 -0700
@@ -117,7 +117,7 @@
 
     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;
--- a/src/solaris/native/java/lang/locale_str.h	Wed Jul 30 16:11:06 2014 +0400
+++ b/src/solaris/native/java/lang/locale_str.h	Wed Jul 30 09:20:26 2014 -0700
@@ -135,7 +135,7 @@
     "sr_SP", "sr_YU",
     "tchinese", "zh_TW",
 #endif
-    ""
+    "", "",
  };
 
 /*
@@ -188,7 +188,7 @@
     "japanese", "ja",
     "korean", "ko",
 #endif
-    "",
+    "", "",
 };
 
 /*
@@ -201,7 +201,7 @@
     "iqtelif", "Latn",
     "latin", "Latn",
 #endif
-    "",
+    "", "",
 };
 
 /*
@@ -212,7 +212,7 @@
     "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 *variant_names[] = {
     "nynorsk", "NY",
-    "",
+    "", "",
 };