[PATCH 15 of 54] Fix issue in validation of CVSS Score Sets

Wald Commits scm-commit at wald.intevation.org
Wed Jan 7 10:56:32 CET 2015


# HG changeset patch
# User Benoît Allard <benoit.allard at greenbone.net>
# Date 1412842152 -7200
# Node ID 640b8874452311aa20c35c7c5b8aa9591d100ede
# Parent  db2a02fff10159cc9f78ed37f4e619ad19261cb2
Fix issue in validation of CVSS Score Sets

diff -r db2a02fff101 -r 640b88744523 farolluz/cvrf.py
--- a/farolluz/cvrf.py	Wed Oct 08 14:49:49 2014 +0200
+++ b/farolluz/cvrf.py	Thu Oct 09 10:09:12 2014 +0200
@@ -695,6 +695,7 @@
             threat.validate(productids, groupids)
         for cvss in self._cvsss:
             cvss.validate(productids)
+        pids = set()
         for cvss in self._cvsss:
             for pid in (cvss._productids or productids):
                 if pid in pids:


More information about the Farol-commits mailing list