Emilio Pozuelo Monfort pushed to branch master at Debian Security Tracker / security-tracker
Commits: 1b1183bc by Emilio Pozuelo Monfort at 2023-10-05T14:00:52+02:00 check-new-issues: read the zip file after downloading it This was working when the file had already been downloaded, but was broken if the file was not present in some code reorganization. - - - - - 1 changed file: - bin/check-new-issues Changes: ===================================== bin/check-new-issues ===================================== @@ -352,10 +352,6 @@ ignore_bug_file = "data/packages/ignored-debian-bug-packages" wnppurl = "https://qa.debian.org/data/bts/wnpp_rm" wnppfile = "../wnpp_rm" -# used by read_cve5, used as a global so that we don't have to open the -# file repeatedly, since we only read cve5s one by one on demand -cve5_zip = zipfile.ZipFile(cve5_file) - issue_re = re.compile(r'CVE-20(?:0[3-9]|[1-9][0-9])|TEMP') auto_display_limit = 10 #$auto_display_limit = $opts{a} if defined $opts{a} @@ -374,6 +370,10 @@ if not args.no_download: debug("reading data...") +# used by read_cve5, used as a global so that we don't have to open the +# file repeatedly, since we only read cve5s one by one on demand +cve5_zip = zipfile.ZipFile(cve5_file) + # We have CVE 5.0 JSON information coming from MITRE, we use cve5 for those # We also have CVE information coming from our data/CVE/list, we use cve there cves = parse_cves() View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/1b1183bc8b2bd875588cfbc21de142cf9c7c6921 -- View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/1b1183bc8b2bd875588cfbc21de142cf9c7c6921 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-security-tracker-commits mailing list debian-security-tracker-commits@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-security-tracker-commits