]> code.ossystems Code Review - openembedded-core.git/commit
cve-update-db-native: Remove hash column from database.
authorPierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Thu, 18 Jul 2019 12:41:19 +0000 (14:41 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Jul 2019 22:34:41 +0000 (23:34 +0100)
commit78de2cb39d74b030cd4ec811bf6f9a6daa003d19
tree7a5c9c81910a40962024d0761a1bcfe397fca268
parent7069302a4ccbb5b72e1902f284cf078516fd7294
cve-update-db-native: Remove hash column from database.

djb2 hash algorithm was found to do collisions, so the database was
sometime missing data. Remove this hash mechanism, clear and populate
elements from scratch in PRODUCTS table if the current year needs an
update.

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cve-check.bbclass
meta/recipes-core/meta/cve-update-db-native.bb