mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
linux/cve-exclusion: do not shift first_affected
Stop shifting first_affected if backport is indicated. This does not have effect on generated list, but makes the logic cleaner as it will not shift it to "first affected on our branch" and also make it behave like in defaultStatus==affected case. Cc: daniel.turull@ericsson.com (From OE-Core rev: 1cbb0103bbf5f567ceeb01abb48869d29f74be1d) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dc1ecb69389dd79354084757ba6b9af0781afcc0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
parent
ec4ce6ab62
commit
37bf35f811
|
@ -69,7 +69,6 @@ def get_fixed_versions(cve_info, base_version):
|
|||
first_affected = v
|
||||
fixed = less_than
|
||||
if base_version < v and v < next_version:
|
||||
first_affected = v
|
||||
fixed_backport = less_than
|
||||
|
||||
return first_affected, fixed, fixed_backport
|
||||
|
|
Loading…
Reference in New Issue
Block a user