changeset 10838:84638abd9b2b

8080163: Uninitialised variable in jdk/src/java/desktop/share/native/libfontmanager/layout/LookupProcessor.cpp Reviewed-by: serb, srl
author prr
date Mon, 15 Jun 2015 12:14:50 -0700
parents db619b622d98
children 29554859c79d 3f44d82b41fb
files src/share/native/sun/font/layout/LookupProcessor.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/font/layout/LookupProcessor.cpp	Mon Jun 15 21:59:50 2015 +0300
+++ b/src/share/native/sun/font/layout/LookupProcessor.cpp	Mon Jun 15 12:14:50 2015 -0700
@@ -175,7 +175,7 @@
   LEReferenceTo<LangSysTable> langSysTable;
     le_uint16 featureCount = 0;
     le_uint16 lookupListCount = 0;
-    le_uint16 requiredFeatureIndex;
+    le_uint16 requiredFeatureIndex = 0xFFFF;
 
     if (LE_FAILURE(success)) {
         return;