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: dc1ecb69389dd79354084757ba6b9af0781afcc0) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d5b1922a69
commit
0b25d55bc0
|
@ -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