From patchwork Fri Sep 15 18:59:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 30533 Return-Path: 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 2A174EEEC01 for ; Fri, 15 Sep 2023 19:00:01 +0000 (UTC) Received: from a27-45.smtp-out.us-west-2.amazonses.com (a27-45.smtp-out.us-west-2.amazonses.com [54.240.27.45]) by mx.groups.io with SMTP id smtpd.web11.29462.1694804392450267413 for ; Fri, 15 Sep 2023 11:59:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=CiBYwA3B; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=oKZq0nzk; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.45, mailfrom: 0101018a9a36c000-39c4086d-0a88-42f4-9553-395f0e673981-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1694804394; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=eE+xkLmqMAzK1WbV0JnP/AUDvhwqt8HaqnahQ4q86ZU=; b=CiBYwA3BvBnk0XZXsk6/+WndMojOrSEk4cFbpoK4TZjCtzaxg6L78dKUEpIak4FG inRu4BkIxkDs6BIjqGj/Rlcezx8UF704bM2azsd5uKbtgSJB3vMMmi1SjO8I8OCUxgp mGinFW8kzEEPOSN6FaAPRGd4uCROkA8URZ/fcfIw= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1694804394; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=eE+xkLmqMAzK1WbV0JnP/AUDvhwqt8HaqnahQ4q86ZU=; b=oKZq0nzkixDVPt00iaM8Kv4PP+OmIjPJaUPbYI/hbDQ2CrHo+0juApSDorIm2GAf TKFujqkia+e/Gh9vJsmA+8uBqZl9jmB1fHh5kIZ9ikM7xhgyWAuUrFGEsyyOGqVUT+W newbGZvm2cXn9/pI96g0McS9gHYC1v6WXMqHUfnQ= MIME-Version: 1.0 From: auh@yoctoproject.org To: Hongxu Jia Cc: openembedded-core@lists.openembedded.org Subject: [AUH] ghostscript: upgrading to 10.02.0 SUCCEEDED Message-ID: <0101018a9a36c000-39c4086d-0a88-42f4-9553-395f0e673981-000000@us-west-2.amazonses.com> Date: Fri, 15 Sep 2023 18:59:54 +0000 Feedback-ID: 1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2023.09.15-54.240.27.45 List-Id: 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 ; Fri, 15 Sep 2023 19:00:01 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/187720 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *ghostscript* to *10.02.0* has Succeeded. Next steps: - apply the patch: git am 0001-ghostscript-upgrade-10.01.2-10.02.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 7266990c04ee497aeb3d686d352a5f3c128449d1 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Fri, 15 Sep 2023 12:49:39 +0000 Subject: [PATCH] ghostscript: upgrade 10.01.2 -> 10.02.0 --- ...pcx-buffer-overrun-fix-from-devices-.patch | 31 ------------------- ...ript_10.01.2.bb => ghostscript_10.02.0.bb} | 5 ++- 2 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch rename meta/recipes-extended/ghostscript/{ghostscript_10.01.2.bb => ghostscript_10.02.0.bb} (94%) diff --git a/meta/recipes-extended/ghostscript/ghostscript/0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch b/meta/recipes-extended/ghostscript/ghostscript/0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch deleted file mode 100644 index b29212fbc6..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch +++ /dev/null @@ -1,31 +0,0 @@ -From d81b82c70bc1fb9991bb95f1201abb5dea55f57f Mon Sep 17 00:00:00 2001 -From: Chris Liddell -Date: Mon, 17 Jul 2023 14:06:37 +0100 -Subject: [PATCH] Bug 706897: Copy pcx buffer overrun fix from - devices/gdevpcx.c - -Bounds check the buffer, before dereferencing the pointer. - -CVE: CVE-2023-38559 -Upstream-Status: Backport -Signed-off-by: Ross Burton ---- - base/gdevdevn.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/base/gdevdevn.c b/base/gdevdevn.c -index 7b14d9c71..6351fb77a 100644 ---- a/base/gdevdevn.c -+++ b/base/gdevdevn.c -@@ -1983,7 +1983,7 @@ devn_pcx_write_rle(const byte * from, const byte * end, int step, gp_file * file - byte data = *from; - - from += step; -- if (data != *from || from == end) { -+ if (from >= end || data != *from) { - if (data >= 0xc0) - gp_fputc(0xc1, file); - } else { --- -2.34.1 - diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.01.2.bb b/meta/recipes-extended/ghostscript/ghostscript_10.02.0.bb similarity index 94% rename from meta/recipes-extended/ghostscript/ghostscript_10.01.2.bb rename to meta/recipes-extended/ghostscript/ghostscript_10.02.0.bb index 434170e34d..4bad0f86e1 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_10.01.2.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_10.02.0.bb @@ -25,11 +25,10 @@ def gs_verdir(v): SRC_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${@gs_verdir("${PV}")}/${BPN}-${PV}.tar.gz \ file://ghostscript-9.16-Werror-return-type.patch \ file://avoid-host-contamination.patch \ - file://0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch \ file://configure.ac-add-option-to-explicitly-disable-neon.patch \ -" + " -SRC_URI[sha256sum] = "a4cd61a07fec161bee35da0211a5e5cde8ff8a0aaf942fc0176715e499d21661" +SRC_URI[sha256sum] = "e54062f166708d84ca82de9f8304a04344466080f936118b88082bd55ed6dc97" PACKAGECONFIG ??= "" PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"