Closed liron-l closed 4 years ago
Thanks for reporting the issue @liron-l! That's a very good catch. Contributions from the community members to fix this are welcome!
Hi @liron-l , I created a patch in #431 , can you take a look if it addresses your issue? Thanks.
Expected Behavior
No crash
Actual Behavior
Crash (see here):
GetFixedLocation()
andGetVersion()
can returnnil
. Those values are not verified when populating occurrences in Grafeas; also, not all vulnerability occurrences has fixes so i think it's valid keeping this fieldnil
instead of specifying a fake value (Version_MAXIMUM
).Steps to Reproduce the Problem
Populate Grafeas with vulnerability occurrences without fixed version