summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2014-09-01 10:40:21 +0000
committerSalvatore Bonaccorso <carnil@debian.org>2014-09-01 10:40:21 +0000
commit73fa3110a42a9f103a7a19c51cc0b24a4b651869 (patch)
treebdf968b77b85289d45109bfebca38ab8ad19084f /lib
parent3474db5ee3ad12e1ecb27ef96de8ebfae4ae1269 (diff)
lib/python/security_db.py (DB.getBugsForSourcePackage): Include TEMP- bugs
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@28540 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib')
-rw-r--r--lib/python/security_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/security_db.py b/lib/python/security_db.py
index 2d362d239c..ab43b17625 100644
--- a/lib/python/security_db.py
+++ b/lib/python/security_db.py
@@ -1679,7 +1679,7 @@ class DB:
AND sp.subrelease <> 'security' AND sp.subrelease <> 'lts'
AND st.package = sp.rowid
AND bugs.name = st.bug_name
- AND bugs.name LIKE 'CVE-%'
+ AND (bugs.name LIKE 'CVE-%' OR bugs.name LIKE 'TEMP-%')
GROUP BY bugs.name, bugs.description, sp.name)
WHERE vulnerable = ? AND unimportant = ?
ORDER BY name""", (pkg, vulnerable, unimportant))

© 2014-2024 Faster IT GmbH | imprint | privacy policy