Details
Description
In a specific use case, RATS doesn't marshal the type of the vulnerability at all in the XML file (it's a bug in the RATS codebase). As the sensor doesn't expect it, it crashes with a NullPointerException and fails the build.
Attached is a simple patch for protecting against it (includes unit test file) as well as the easy fix in the codebase of RATS 2.3 should anyone need it
Activity
Waleri Enns
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | CXX-0.1 [ 18353 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
fixed by JP Chemali. Successfully tested by me.