This is the json snippet which is triggering the bug.
{
"type": "rfs",
"hash": "9a38ab53b0edc8a10b5f16e6543b0741",
"source": "snuffleupagus",
"packages": null,
"version": "0.13.0-1",
"title": "RFS: snuffleupagus/0.13.0-1 [RC] -- Security module for php7 and
php8",
"id": 1126807
}
Maybe changing those lines from
if packages & hi['packages'] != []
to
if packages & (hi['packages'] ? hi['packages'] : []) != []
Would be a workaround, but I have not knowledge on what generates the
report being fetched and if that null value there should be valid or if
should actually be an empty array.
--
Athos Ribeiro