cx-justin-ruth / CxFlowGithub

0 stars 0 forks source link

CX Improper_Resource_Shutdown_or_Release @ root/product.jsp [master] #29

Open cx-justin-ruth opened 2 years ago

cx-justin-ruth commented 2 years ago

Improper_Resource_Shutdown_or_Release issue exists @ root/product.jsp in branch master

The application's 1; method in root\product.jsp defines and initializes the getConnection object at 10. This object encapsulates a limited computing resource, such as open file streams, database connections, or network streams. This resource is not properly closed and released in all situations.

Severity: Low

CWE:404

Vulnerability details and guidance

Checkmarx

Lines: 10


Code (Line #10):

            val = 1;