Kaydet (Commit) 8b26abad authored tarafından Herbert Dürr's avatar Herbert Dürr

fix null-pointer check in sunjavaplugin

üst 8ede3e1e
...@@ -267,7 +267,7 @@ javaPluginError jfw_plugin_getAllJavaInfos( ...@@ -267,7 +267,7 @@ javaPluginError jfw_plugin_getAllJavaInfos(
} }
} }
if (arExcludeList > 0) if( arExcludeList != NULL)
{ {
bool bExclude = false; bool bExclude = false;
for (int j = 0; j < nLenList; j++) for (int j = 0; j < nLenList; j++)
...@@ -397,7 +397,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath( ...@@ -397,7 +397,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
return JFW_PLUGIN_E_FAILED_VERSION; return JFW_PLUGIN_E_FAILED_VERSION;
} }
if (arExcludeList > 0) if( arExcludeList != NULL)
{ {
for (int i = 0; i < nLenList; i++) for (int i = 0; i < nLenList; i++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment