## FindBugs Bug Detector Report The following document contains the results of FindBugs FindBugs Version is 2.0.3 Threshold is Effort is min ## Summary
Classes | Bugs | Errors | Missing Classes
--- | --- | --- | ---
552 | 8 | 0 | 0
## Files
Class | Bugs
--- | ---
org.apache.logging.log4j.core.config.AbstractConfiguration | 2
org.apache.logging.log4j.core.config.status.StatusConfiguration | 1
org.apache.logging.log4j.core.net.TcpSocketManager | 1
org.apache.logging.log4j.core.net.server.UdpSocketServer | 1
org.apache.logging.log4j.core.tools.Generate | 1
org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry | 1
org.apache.logging.log4j.core.util.NameUtil | 1
### org.apache.logging.log4j.core.config.AbstractConfiguration
Bug | Category | Details | Line | Priority
--- | --- | --- | --- | ---
Found reliance on default encoding in org.apache.logging.log4j.core.config.AbstractConfiguration.createAdvertiser(String, ConfigurationSource, byte[], String): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 295 | High
Potentially dangerous use of non-short-circuit logic in org.apache.logging.log4j.core.config.AbstractConfiguration.stop() | STYLE | NS_DANGEROUS_NON_SHORT_CIRCUIT | 214 | High
### org.apache.logging.log4j.core.config.status.StatusConfiguration
Bug | Category | Details | Line | Priority
--- | --- | --- | --- | ---
Found reliance on default encoding in org.apache.logging.log4j.core.config.status.StatusConfiguration.parseStreamName(String): new java.io.PrintStream(OutputStream, boolean) | I18N | DM_DEFAULT_ENCODING | 123 | High
### org.apache.logging.log4j.core.net.TcpSocketManager
Bug | Category | Details | Line | Priority
--- | --- | --- | --- | ---
new org.apache.logging.log4j.core.net.TcpSocketManager(String, OutputStream, Socket, InetAddress, String, int, int, int, boolean, Layout) invokes org.apache.logging.log4j.core.net.TcpSocketManager$Reconnector.start() | MT_CORRECTNESS | SC_START_IN_CTOR | 91 | High
### org.apache.logging.log4j.core.net.server.UdpSocketServer
Bug | Category | Details | Line | Priority
--- | --- | --- | --- | ---
Found reliance on default encoding in org.apache.logging.log4j.core.net.server.UdpSocketServer.main(String[]): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 105 | High
### org.apache.logging.log4j.core.tools.Generate
Bug | Category | Details | Line | Priority
--- | --- | --- | --- | ---
Format-string method String.format(String, Object[]) called with format string "}%n" wants 0 arguments but is given 1 in org.apache.logging.log4j.core.tools.Generate.generateSource(String, List, Generate$Type) | CORRECTNESS | VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED | 523 | High
### org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
Bug | Category | Details | Line | Priority
--- | --- | --- | --- | ---
Class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry defines non-transient non-serializable instance field shutdownHookRef | BAD_PRACTICE | SE_BAD_FIELD | Not available | High
### org.apache.logging.log4j.core.util.NameUtil
Bug | Category | Details | Line | Priority
--- | --- | --- | --- | ---
Found reliance on default encoding in org.apache.logging.log4j.core.util.NameUtil.md5(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 44 | High