moserp icon indicating copy to clipboard operation
moserp copied to clipboard

Insecure coding pattern: Missing default case in switch statements

Open paser4se opened this issue 5 years ago • 0 comments

Greetings,

We are security researchers and we are looking for insecure coding patterns and configurations in the microservice architecture repositories. In your repository, we have found that your code does not have a default case in the switch statement. According to the Common Weakness Enumeration organization, this is a security weakness. See the link https://cwe.mitre.org/data/definitions/478.html

Source: https://github.com/thomasletsch/moserp/blob/master/gui/inventory-app/app/src/main/java/org/moserp/MainActivity.java

Fix: Fix #3

I am interested to know if you agree with the findings. Any feedback is appreciated.

paser4se avatar Jul 09 '20 02:07 paser4se