SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.4

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
26 17 0 0

Files

Class Bugs
org.sentrysoftware.wmi.WqlQuery 2
org.sentrysoftware.wmi.remotecommand.RemoteProcess 2
org.sentrysoftware.wmi.wbem.CoAuthIdentity 4
org.sentrysoftware.wmi.wbem.WmiCimTypeHandler 1
org.sentrysoftware.wmi.wbem.WmiComHelper 1
org.sentrysoftware.wmi.wbem.WmiWbemServices 5
org.sentrysoftware.wmi.windows.remote.WindowsRemoteProcessUtils 2

org.sentrysoftware.wmi.WqlQuery

Bug Category Details Line Priority
org.sentrysoftware.wmi.WqlQuery.getSelectedProperties() may expose internal representation by returning WqlQuery.selectedProperties MALICIOUS_CODE EI_EXPOSE_REP 227 Medium
org.sentrysoftware.wmi.WqlQuery.getSubPropertiesMap() may expose internal representation by returning WqlQuery.subPropertiesMap MALICIOUS_CODE EI_EXPOSE_REP 231 Medium

org.sentrysoftware.wmi.remotecommand.RemoteProcess

Bug Category Details Line Priority
org.sentrysoftware.wmi.remotecommand.RemoteProcess.killProcessWithChildren(WmiWbemServices, int, long) might ignore org.sentrysoftware.wmi.exceptions.ProcessNotFoundException BAD_PRACTICE DE_MIGHT_IGNORE 200 Medium
Possible null pointer dereference of returnCode in org.sentrysoftware.wmi.remotecommand.RemoteProcess.killProcess(WmiWbemServices, int) CORRECTNESS NP_NULL_ON_SOME_PATH 246 Medium

org.sentrysoftware.wmi.wbem.CoAuthIdentity

Bug Category Details Line Priority
Unread public/protected field: org.sentrysoftware.wmi.wbem.CoAuthIdentity.domainLength STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 77 Medium
Unread public/protected field: org.sentrysoftware.wmi.wbem.CoAuthIdentity.flags STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 96 Medium
Unread public/protected field: org.sentrysoftware.wmi.wbem.CoAuthIdentity.passwordLength STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 89 Medium
Unread public/protected field: org.sentrysoftware.wmi.wbem.CoAuthIdentity.userLength STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 71 Medium

org.sentrysoftware.wmi.wbem.WmiCimTypeHandler

Bug Category Details Line Priority
Check for sign of bitwise operation in org.sentrysoftware.wmi.wbem.WmiCimTypeHandler.convert(Variant$VARIANT$ByReference, int, Map$Entry) BAD_PRACTICE BIT_SIGNED_CHECK 340 Medium

org.sentrysoftware.wmi.wbem.WmiComHelper

Bug Category Details Line Priority
Result of integer multiplication cast to long in org.sentrysoftware.wmi.wbem.WmiComHelper.comInvokerInvokeNativeObject(Pointer, int, Object[], Class) STYLE ICAST_INTEGER_MULTIPLY_CAST_TO_LONG 143 Medium

org.sentrysoftware.wmi.wbem.WmiWbemServices

Bug Category Details Line Priority
org.sentrysoftware.wmi.wbem.WmiWbemServices.getAuthIdent() may expose internal representation by returning WmiWbemServices.authIdent MALICIOUS_CODE EI_EXPOSE_REP 1153 Medium
org.sentrysoftware.wmi.wbem.WmiWbemServices.getContext() may expose internal representation by returning WmiWbemServices.context MALICIOUS_CODE EI_EXPOSE_REP 1149 Medium
org.sentrysoftware.wmi.wbem.WmiWbemServices.getPassword() may expose internal representation by returning WmiWbemServices.password MALICIOUS_CODE EI_EXPOSE_REP 1137 Medium
org.sentrysoftware.wmi.wbem.WmiWbemServices.getWbemLocator() may expose internal representation by returning WmiWbemServices.wbemLocator MALICIOUS_CODE EI_EXPOSE_REP 1145 Medium
org.sentrysoftware.wmi.wbem.WmiWbemServices.getWbemServices() may expose internal representation by returning WmiWbemServices.wbemServices MALICIOUS_CODE EI_EXPOSE_REP 1141 Medium

org.sentrysoftware.wmi.windows.remote.WindowsRemoteProcessUtils

Bug Category Details Line Priority
Possible null pointer dereference in org.sentrysoftware.wmi.windows.remote.WindowsRemoteProcessUtils.copyToShare(Path, String, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 216 Medium
Possible null pointer dereference in org.sentrysoftware.wmi.windows.remote.WindowsRemoteProcessUtils.copyToShare(Path, String, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 217 Medium
No results.