]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
linux/cve-exclusion: correct fixed-version calculation
authorPeter Marko <peter.marko@siemens.com>
Sun, 27 Apr 2025 09:43:00 +0000 (11:43 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 1 Jul 2025 13:53:30 +0000 (06:53 -0700)
commit4e2c441b64675933cc5f684d0e19cdc18ceaab18
treea8dee3c6a89e3972d25270276670959f99bf7660
parent9e3bff5413a55675ef0ff9bca0cc8b87668dc255
linux/cve-exclusion: correct fixed-version calculation

Current code takes the first version found as "fixed-version".
That is not correct as it is almost always only the oldest backport.
Fix it by unconditionally shift the assigmnet of variable "fixed" so
that we take last instead of first version.

Cc: daniel.turull@ericsson.com
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68f8e58a249c8adef18e63f0841e8bfea16f354e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-kernel/linux/generate-cve-exclusions.py