SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
23 8 0 0

Files

Class Bugs
net.sf.michaelo.activedirectory.ActiveDirectoryDcLocator 1
net.sf.michaelo.activedirectory.DomainControllerInfo 2
net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonBaseResponse 1
net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonExResponse 2
net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonResponse 2

net.sf.michaelo.activedirectory.ActiveDirectoryDcLocator

Bug Category Details Line Priority
net.sf.michaelo.activedirectory.ActiveDirectoryDcLocator.locate(DcLocatorRequest) uses the same code for two branches STYLE DB_DUPLICATE_BRANCHES 315 Medium

net.sf.michaelo.activedirectory.DomainControllerInfo

Bug Category Details Line Priority
net.sf.michaelo.activedirectory.DomainControllerInfo.getDomainControllerAddress() may expose internal representation by returning DomainControllerInfo.domainControllerAddress MALICIOUS_CODE EI_EXPOSE_REP 85 Medium
new net.sf.michaelo.activedirectory.DomainControllerInfo(String, InetAddress, UUID, String, String, Set, String, String) may expose internal representation by storing an externally mutable object into DomainControllerInfo.domainControllerAddress MALICIOUS_CODE EI_EXPOSE_REP2 71 Medium

net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonBaseResponse

Bug Category Details Line Priority
net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonBaseResponse.getNtVersion() may expose internal representation by returning NetlogonSamLogonBaseResponse.ntVersion MALICIOUS_CODE EI_EXPOSE_REP 172 Medium

net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonExResponse

Bug Category Details Line Priority
net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonExResponse.getDcSockAddr() may expose internal representation by returning NetlogonSamLogonExResponse.dcSockAddr MALICIOUS_CODE EI_EXPOSE_REP 158 Medium
net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonExResponse.getFlags() may expose internal representation by returning NetlogonSamLogonExResponse.flags MALICIOUS_CODE EI_EXPOSE_REP 118 Medium

net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonResponse

Bug Category Details Line Priority
net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonResponse.getDcIpAddress() may expose internal representation by returning NetlogonSamLogonResponse.dcIpAddress MALICIOUS_CODE EI_EXPOSE_REP 116 Medium
net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonResponse.getFlags() may expose internal representation by returning NetlogonSamLogonResponse.flags MALICIOUS_CODE EI_EXPOSE_REP 120 Medium