[Git][security-tracker-team/security-tracker][master] Revert "tracker_service: sort releases in CVE pages"

Salvatore Bonaccorso (@carnil) carnil at debian.org
Tue Nov 30 20:40:52 GMT 2021



Salvatore Bonaccorso pushed to branch master at Debian Security Tracker / security-tracker


Commits:
308bf69d by Salvatore Bonaccorso at 2021-11-30T21:39:42+01:00
Revert "tracker_service: sort releases in CVE pages"

This reverts commit 8795311fe744f6669fdf3da1ae281615aa97450a.

This causes issues e.g. on
https://security-tracker.debian.org/tracker/CVE-2021-20313.

Revert the change for now, but should be re-add once the bug can be
fixed.

- - - - -


1 changed file:

- bin/tracker_service.py


Changes:

=====================================
bin/tracker_service.py
=====================================
@@ -458,7 +458,7 @@ data source.""")],
 
             def gen_source():
                 old_pkg = ''
-                for (package, releases, version, vulnerable) \
+                for (package, release, version, vulnerable) \
                         in self.db.getSourcePackages(cursor, bug.name):
                     if package == old_pkg:
                         package = ''
@@ -476,8 +476,7 @@ data source.""")],
                     else:
                         vuln = 'fixed'
 
-                    releases = sorted(releases, key = debian_support.internRelease)
-                    yield package, ', '.join(releases), version, vuln
+                    yield package, ', '.join(release), version, vuln
 
             page.append(make_table(gen_source(),
                 title=H2('Vulnerable and fixed packages'),



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/308bf69d662c115418d6a8c18abf030183b919a0

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/308bf69d662c115418d6a8c18abf030183b919a0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20211130/c5133582/attachment-0001.htm>


More information about the debian-security-tracker-commits mailing list