This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 0d3e680e3a Avoid NPE for default
0d3e680e3a is described below
commit 0d3e680e3ae18c7e7ff3ce4f9695ee7dad3432d8
Author: remm <[email protected]>
AuthorDate: Mon Jul 7 10:44:22 2025 +0200
Avoid NPE for default
Found by Coverity.
---
java/org/apache/catalina/valves/AbstractAccessLogValve.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/valves/AbstractAccessLogValve.java
b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
index 7370a49af5..e25eabf3fb 100644
--- a/java/org/apache/catalina/valves/AbstractAccessLogValve.java
+++ b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
@@ -1691,7 +1691,7 @@ public abstract class AbstractAccessLogValve extends
ValveBase implements Access
private final IdentifierType identifierType;
public IdentifierElement() {
- this(null);
+ this("");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]