fix: fix server crash when executing console commands #5250
Terasology Jenkins.io / SpotBugs
succeeded
Jun 2, 2024 in 0s
1 new issue, 994 total
Total | New | Outstanding | Fixed | Trend |
---|---|---|---|---|
994 | 1 | 993 | 0 | 👎 |
Reference build: Terasology » engine » develop #71
Details
Severity distribution of new issues
Error | Warning High | Warning Normal | Warning Low |
---|---|---|---|
0 | 0 | 0 | 1 |
Annotations
terasology-jenkins-io / SpotBugs
EI_EXPOSE_REP
LOW:
org.terasology.engine.logic.console.CommandEvent.getParameters() may expose internal representation by returning CommandEvent.parameters
Raw output
<p> Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object. If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.</p>
Loading