Message ID | 5cd34a34879ad424f3b1637b48892d6fa037861d.1732680538.git.steve@sakoman.com |
---|---|
State | New |
Headers | show
Return-Path: <steve@sakoman.com> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59E19D66BB7 for <webhook@archiver.kernel.org>; Wed, 27 Nov 2024 04:11:57 +0000 (UTC) Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) by mx.groups.io with SMTP id smtpd.web10.64660.1732680707536110747 for <openembedded-core@lists.openembedded.org>; Tue, 26 Nov 2024 20:11:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=a5uOOnQq; spf=softfail (domain: sakoman.com, ip: 209.85.167.174, mailfrom: steve@sakoman.com) Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3ea411ef5a9so1550562b6e.0 for <openembedded-core@lists.openembedded.org>; Tue, 26 Nov 2024 20:11:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1732680707; x=1733285507; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Kcb7TDklw9FpjjotIA51UGDl+fRDLriBhNGuPyvKIQE=; b=a5uOOnQqg2aO80HPAMO3MN5/CE9DQcik/L2Im55xWdVRNW6ZpS5YInI6wGgicjeJsQ dfDs2lG8wbxLNwWojOrME0g2d3/47RVncTPz3qSRMx8pSFmu+xaG1uNPiHbdhl7vV3wi R0bCgdSRLrWCMS/+BrrzSM/9N6dm+0wYNcOcpzrOQ0O7lvDonkLIrMObDs79PrE47LnQ OSJQ5qfrfVBtuyvHTFarKpRUcS2tdi7xLaBH4CO6s+xNJlSrYHXBKind0GH+XQBzg2QL lJApjG/oPRTJPmJV9bxoXAninPQhOfyXLVReUZ0idO8iwOBiKNvCFJYZy9Q4phWsRMEw 70uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732680707; x=1733285507; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Kcb7TDklw9FpjjotIA51UGDl+fRDLriBhNGuPyvKIQE=; b=ETRvmBTqiP0Eo0IEEyX5B3jX2IFLIOwDeQuFKhRpo1MS9Gqsd9ySt+wncaNk2ktDLQ G2OZ0cCh+Ltk23BJv61L8KqJ/QzxEpWjP7q5R6R62WTfMSOlDABhLb8uzhlYhelGK3U7 OnHzrsvHp8bLCp9NXWGipp9TkrFqwnR1tjxqgG7Odi2L4rd3e6qo0O30pCJo+DlwGE1B +8Gls0WY/veG6OCK3RxAYTW5uPv0S6Vg2YivYyHRuBs4q9cAEN0XLQuD0AAa3vAvswTl GHMSfU6Fc1Eq5SUDRAnBbxpUyjTKnZsvUaMtCxVH2KKoKuYIFFCkxhV3vPPkXzGqlxv5 Qm8w== X-Gm-Message-State: AOJu0Yw2XEgCA4zQd4CU/zt9Yjx9rzpH0d3wG/Mp8uBY5/jEH7eeejOn SpIW1vfEec01BpT02d8aVUMcQTS1K59dyuWEZSP1M8qQUQGCvL80loJtBpwrOVg7JS+SIxQWhS6 t X-Gm-Gg: ASbGncuWcZkylKvvEr5HEOYzNOexvWoH5naPXduf1NTMGYfSL5+YGwlKluySZlzp0Hw IZNLnEKeb2TQ9xRHz0iXwNO2ou+MMCe4X96zSuVPWiD78mZiN3YwAqljxsSK3j/mx5u73qeD06+ 9C6BHtjIdDc0gEhwLHnfv70vauE6MA73vG5LUbtZG8Z2S9enW2DH7cPbvQJb3vPTG1ziJPbwo8g 5VnmmprwGSIVZ1gxZAerW11KsWxQ0RaGTk0uok= X-Google-Smtp-Source: AGHT+IFKurp6lgFEzG+0hXF7yE7NdOc/UeiSfojU/wrNmPt/PxVFmHZ0OUEL+eSjvt3cyEq8QMy6jw== X-Received: by 2002:a05:6808:1807:b0:3e7:a15c:4692 with SMTP id 5614622812f47-3ea6dd4e5f9mr1575729b6e.27.1732680706475; Tue, 26 Nov 2024 20:11:46 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724de485c84sm9240796b3a.80.2024.11.26.20.11.45 for <openembedded-core@lists.openembedded.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2024 20:11:46 -0800 (PST) From: Steve Sakoman <steve@sakoman.com> To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 02/18] cve-check: fix malformed cve status description with : characters Date: Tue, 26 Nov 2024 20:11:22 -0800 Message-Id: <5cd34a34879ad424f3b1637b48892d6fa037861d.1732680538.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1732680538.git.steve@sakoman.com> References: <cover.1732680538.git.steve@sakoman.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: <openembedded-core.lists.openembedded.org> X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for <openembedded-core@lists.openembedded.org>; Wed, 27 Nov 2024 04:11:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207896 |
Series |
[styhead,01/18] cve-check: do not skip cve status description after :
|
expand
|
diff --git a/meta/lib/oe/cve_check.py b/meta/lib/oe/cve_check.py index 268adfb528..647a94f5af 100644 --- a/meta/lib/oe/cve_check.py +++ b/meta/lib/oe/cve_check.py @@ -257,7 +257,7 @@ def decode_cve_status(d, cve): else: # Other case: no CPE, the syntax is then: # detail: description - description = status_split[len(status_split)-1].strip() if (len(status_split) > 1) else "" + description = status.split(':', 1)[1].strip() if (len(status_split) > 1) else "" status_out["vendor"] = vendor status_out["product"] = product