OR-TestUser / Baritone

GNU Lesser General Public License v3.0
0 stars 3 forks source link

Fix Null Dereference Check #3

Closed OR-TestUser closed 1 year ago

OR-TestUser commented 3 years ago

In file: Settings.java, class: Settings, method: getAllValuesByType there is a potential Null pointer dereference. This may throw an unexpected null pointer exception which, if unhandled, may crash the program. iCR detected the null pointer issue and demonstrated the full path from the object declaration to the null dereference in the object. A developer should introduce null checks in the appropriate path or initialize the object explicitly.