summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images
diff options
context:
space:
mode:
authorMarta Rybczynska <rybczynska@gmail.com>2023-01-03 15:03:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-06 12:03:31 +0000
commit8efe99214d8b005f0ecac690ce5ba17b31758f92 (patch)
tree6cbd1d14de313a9dbfbaee88dd5d52ac613c5a1e /meta/recipes-core/images
parentbd22b705366e41ebd5eba4ce31d5654fc631a1f5 (diff)
downloadopenembedded-core-8efe99214d8b005f0ecac690ce5ba17b31758f92.tar.gz
cve-update-db-native: avoid incomplete updates
The database update has been done on the original file. In case of network connection issues, temporary outage of the NVD server or a similar situation, the function could exit with incomplete data in the database. This patch solves the issue by performing the update on a copy of the database. It replaces the main one only if the whole update was successful. See https://bugzilla.yoctoproject.org/show_bug.cgi?id=14929 Reported-by: Alberto Pianon <alberto@pianon.eu> Signed-off-by: Marta Rybczynska <marta.rybczynska@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images')
0 files changed, 0 insertions, 0 deletions