[Git][security-tracker-team/security-tracker][master] 2 commits: security_db: Create next_point_table as well on fresh DB initialization

Salvatore Bonaccorso (@carnil) carnil at debian.org
Sat May 22 14:41:02 BST 2021



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


Commits:
b8e655f8 by Salvatore Bonaccorso at 2021-05-22T12:48:47+02:00
security_db: Create next_point_table as well on fresh DB initialization

8846bec76339 ("Fix CVE10k problem for CVE with more than 4 numbers")
introduced the initialization of schema 22 and introducing the machinery
to allow the tracker.d.o support reading next point release information.

On updates from already initialized databases with previous schemas this
worked fine, but as Neil Williams reported, this fails when starting
with a new instance.

Link: https://lists.debian.org/debian-security-tracker/2021/05/msg00024.html
Fixes: 8846bec76339 ("Fix CVE10k problem for CVE with more than 4 numbers")
Signed-off-by: Salvatore Bonaccorso <carnil at debian.org>

- - - - -
e4bbc637 by Salvatore Bonaccorso at 2021-05-22T13:40:59+00:00
Merge branch 'initialize-next-point-table' into 'master'

security_db: Create next_point_table as well on fresh DB initialization

See merge request security-tracker-team/security-tracker!84
- - - - -


1 changed file:

- lib/python/security_db.py


Changes:

=====================================
lib/python/security_db.py
=====================================
@@ -444,6 +444,8 @@ class DB:
 
         self._initNoDSA(cursor)
 
+        self._initNextPointRelease(cursor)
+
         cursor.execute("PRAGMA user_version = %d" % self.schema_version)
 
     def _initSchema20(self):



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/compare/bcc3b939f1548c1f4e80680d5c66d407b3cd76b3...e4bbc6378164df8f657cc80576a40a3c9c5290d0

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/compare/bcc3b939f1548c1f4e80680d5c66d407b3cd76b3...e4bbc6378164df8f657cc80576a40a3c9c5290d0
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/20210522/ba5b17d3/attachment-0001.htm>


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