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 |
9 |
0 |
0 |
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 |
171 |
Medium |
net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonExResponse
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonExResponse at new net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonExResponse(byte[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
88 |
Medium |
| net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonExResponse.getDcSockAddr() may expose internal representation by returning NetlogonSamLogonExResponse.dcSockAddr |
MALICIOUS_CODE |
EI_EXPOSE_REP |
161 |
Medium |
| net.sf.michaelo.activedirectory.ldapping.NetlogonSamLogonExResponse.getFlags() may expose internal representation by returning NetlogonSamLogonExResponse.flags |
MALICIOUS_CODE |
EI_EXPOSE_REP |
121 |
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 |