You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/01/26 14:02:10 UTC

[tomcat] branch master updated: Update false positives

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 956dfbd  Update false positives
956dfbd is described below

commit 956dfbdab59350b698eac5448dd9dde9730ae4b7
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jan 26 14:01:47 2021 +0000

    Update false positives
---
 res/findbugs/filter-false-positives.xml | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/res/findbugs/filter-false-positives.xml b/res/findbugs/filter-false-positives.xml
index e4b6005..e47e128 100644
--- a/res/findbugs/filter-false-positives.xml
+++ b/res/findbugs/filter-false-positives.xml
@@ -392,6 +392,12 @@
     <Bug code="Dm" />
   </Match>
   <Match>
+  <!-- The stream is closed in the thread  -->
+    <Class name="org.apache.catalina.servlets.CGIServlet$CGIRunner" />
+    <Method name="run" />
+    <Bug pattern="OS_OPEN_STREAM" />
+  </Match>
+  <Match>
   <!-- The header value is safe  -->
     <Class name="org.apache.catalina.servlets.DefaultServlet" />
     <Method name="doDirectoryRedirect" />
@@ -1007,9 +1013,9 @@
   <Match>
     <!-- Simpler to catch Exception than to create dummy implementations of the
          necessary exception hierarchy -->
-    <Class name="org.apache.naming.factory.SendMailFactory$1" />
-    <Method name="run" />
-    <Bug code="DE" />
+    <Class name="org.apache.naming.factory.SendMailFactory" />
+    <Method name="lambda$0" />
+    <Bug pattern="DE_MIGHT_IGNORE" />
   </Match>
   <Match>
     <!-- Simpler to catch Exception than to create dummy implementations of the


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org