-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathspotbugs-exclude.xml
More file actions
20 lines (18 loc) · 787 Bytes
/
Copy pathspotbugs-exclude.xml
File metadata and controls
20 lines (18 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<FindBugsFilter>
<!-- Random number generation is not a security application -->
<Match>
<Bug pattern="PREDICTABLE_RANDOM" />
</Match>
<!-- False positive: using JFileChooser with filter to select file, SpotBugs complaining where extension is added if missing -->
<Match>
<Bug pattern="PATH_TRAVERSAL_IN" />
<Class name="org.cicirello.ibp.MenuBar" />
<Method name="saveSessionLog" />
</Match>
<!-- False positive: SessionLog saves log in an XML-like format, SpotBugs shows false positive for potential XML injection but the code generating the XML-like output doesn't depend on any user input -->
<Match>
<Bug pattern="POTENTIAL_XML_INJECTION" />
<Class name="org.cicirello.ibp.SessionLog" />
<Method name="toString" />
</Match>
</FindBugsFilter>