changeset 10265:2b7bf1d63a9c

8048515: Read outside array bounds in jdk/src/solaris/native/java/lang/java_props_md.c Reviewed-by: okutsu
author naoto
date Wed, 09 Jul 2014 10:02:30 -0700
parents 3414f6e34216
children 05343feb3771
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 09 17:51:50 2014 +0200
+++ b/src/share/native/java/lang/java_props.h	Wed Jul 09 10:02:30 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 09 17:51:50 2014 +0200
+++ b/src/solaris/native/java/lang/locale_str.h	Wed Jul 09 10:02:30 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",
-    "",
+    "", "",
 };