[Git][security-tracker-team/security-tracker][master] lts-cve-triage: fix crash when sid is unfixed
Emilio Pozuelo Monfort (@pochu)
pochu at debian.org
Tue Aug 26 13:39:51 BST 2025
Emilio Pozuelo Monfort pushed to branch master at Debian Security Tracker / security-tracker
Commits:
1107e19c by Emilio Pozuelo Monfort at 2025-08-26T14:39:07+02:00
lts-cve-triage: fix crash when sid is unfixed
- - - - -
1 changed file:
- bin/lts-cve-triage.py
Changes:
=====================================
bin/lts-cve-triage.py
=====================================
@@ -140,6 +140,10 @@ def is_next_lts_fix_explicit(issue):
"""Was the fix in stable/oldstable explicit or inherited from unstable?"""
next_lts_fixed_version = issue.data['releases'][RELEASES['next_lts']]['fixed_version']
if 'sid' in issue.data['releases']:
+ if 'fixed_version' not in issue.data['releases']['sid']:
+ # if sid is unfixed, the fix is probably explicit
+ return True
+
unstable_version = issue.data['releases']['sid']['fixed_version']
is_explicit_fix = version_compare(next_lts_fixed_version, unstable_version) < 0
else:
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/1107e19c991def9e52d56e60ea86ca8d39dfb3f9
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/1107e19c991def9e52d56e60ea86ca8d39dfb3f9
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/20250826/ba61684d/attachment.htm>
More information about the debian-security-tracker-commits
mailing list