From patchwork Sun Oct 15 19:45:12 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: 32281 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 E0B4FCDB47E for ; Sun, 15 Oct 2023 19:45:19 +0000 (UTC) Received: from a27-23.smtp-out.us-west-2.amazonses.com (a27-23.smtp-out.us-west-2.amazonses.com [54.240.27.23]) by mx.groups.io with SMTP id smtpd.web11.102697.1697399113073199657 for ; Sun, 15 Oct 2023 12:45:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=Fso0v3Co; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=lYG1aG7F; spf=pass (domain: automation.yoctoproject.org, ip: 54.240.27.23, mailfrom: 0101018b34df01c7-2c25cbc3-7ef9-478b-98b9-48378989b689-000000@automation.yoctoproject.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1697399112; h=Content-Type:MIME-Version:From:To:Subject:Message-Id:Date; bh=8W3vqqouAGazdujvv/1nx4zDJczXVtSa6HNSxENiJRY=; b=Fso0v3CoWk9a18Yhub61JpWgylJBuLcFYdgTrKEkVJhiwyfQ7t7o1ntbJpuu2hl3 W54omrNSTrXo3O5iwTO1KE3MpF+Rlu3Sjm2ZizLGFjqKDiMbl+DritNoXIp5ZxzMTdv HgEQF5D2Xsky6VIv7L3QZW2mm0F2HpL9pJw86m/I= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1697399112; h=Content-Type:MIME-Version:From:To:Subject:Message-Id:Date:Feedback-ID; bh=8W3vqqouAGazdujvv/1nx4zDJczXVtSa6HNSxENiJRY=; b=lYG1aG7FHlmGYkwbkoepCoYwaNT1wRWgSbrI0vV8VqhIO4FMuFRj0Rb+S03ROTn1 Bs4ZVc5uU//saBzB5HmzhDGyC0EyZLOvS2g+Em4CYJ0wh8N/YMf6QsEwbT5PpDNouXg ERKSCQWCTbHUdGwiYiuaD7iUFqezmji6lwDeQAJA= MIME-Version: 1.0 From: auh@yoctoproject.org To: openembedded-core@lists.openembedded.org Subject: [AUH] dhcpcd: upgrading to 10.0.3 SUCCEEDED Message-ID: <0101018b34df01c7-2c25cbc3-7ef9-478b-98b9-48378989b689-000000@us-west-2.amazonses.com> Date: Sun, 15 Oct 2023 19:45:12 +0000 Feedback-ID: 1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2023.10.15-54.240.27.23 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 ; Sun, 15 Oct 2023 19:45:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/189160 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *dhcpcd* to *10.0.3* has Succeeded. Next steps: - apply the patch: git am 0001-dhcpcd-upgrade-10.0.2-10.0.3.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 33dae664cb108dc405845253d2e26491fe026b51 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Sun, 15 Oct 2023 07:41:57 +0000 Subject: [PATCH] dhcpcd: upgrade 10.0.2 -> 10.0.3 --- .../{dhcpcd_10.0.2.bb => dhcpcd_10.0.3.bb} | 3 +- ...x-strlcpy-overflow-in-psp_ifname-239.patch | 33 ------------------- 2 files changed, 1 insertion(+), 35 deletions(-) rename meta/recipes-connectivity/dhcpcd/{dhcpcd_10.0.2.bb => dhcpcd_10.0.3.bb} (94%) delete mode 100644 meta/recipes-connectivity/dhcpcd/files/0001-privsep-fix-strlcpy-overflow-in-psp_ifname-239.patch diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.2.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.3.bb similarity index 94% rename from meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.2.bb rename to meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.3.bb index 0966edd1b8..cc0fb382df 100644 --- a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.2.bb +++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.3.bb @@ -15,10 +15,9 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma file://dhcpcd.service \ file://dhcpcd@.service \ file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \ - file://0001-privsep-fix-strlcpy-overflow-in-psp_ifname-239.patch \ " -SRCREV = "d2fbde99cf2d0072016af9dfe6a77032a5a9fc30" +SRCREV = "45fb8fd8dd281d2228c7abaddff7877d27e67146" S = "${WORKDIR}/git" inherit pkgconfig autotools-brokensep systemd useradd diff --git a/meta/recipes-connectivity/dhcpcd/files/0001-privsep-fix-strlcpy-overflow-in-psp_ifname-239.patch b/meta/recipes-connectivity/dhcpcd/files/0001-privsep-fix-strlcpy-overflow-in-psp_ifname-239.patch deleted file mode 100644 index d4fb1737a6..0000000000 --- a/meta/recipes-connectivity/dhcpcd/files/0001-privsep-fix-strlcpy-overflow-in-psp_ifname-239.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 1bd8fc7d4b34f752a32709d277a897e5ad202d97 Mon Sep 17 00:00:00 2001 -From: Tobias Heider -Date: Tue, 15 Aug 2023 18:06:48 +0200 -Subject: [PATCH] privsep: fix strlcpy overflow in psp_ifname (#239) - -When running our Ubuntu tests with libc6 and strlcpy overflow checks -enabled we found that the wrong size is passed to strlcpy resulting -in a crash because of an overflow. - -Upstream-Status: Backport -[https://github.com/NetworkConfiguration/dhcpcd/commit/1bd8fc7d4b34f752a32709d277a897e5ad202d97] - -Signed-off-by: Yi Zhao ---- - src/privsep.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/privsep.c b/src/privsep.c -index b11c0351..cfe54742 100644 ---- a/src/privsep.c -+++ b/src/privsep.c -@@ -1200,7 +1200,7 @@ ps_newprocess(struct dhcpcd_ctx *ctx, struct ps_id *psid) - #endif - - if (!(ctx->options & DHCPCD_MANAGER)) -- strlcpy(psp->psp_ifname, ctx->ifv[0], sizeof(psp->psp_name)); -+ strlcpy(psp->psp_ifname, ctx->ifv[0], sizeof(psp->psp_ifname)); - TAILQ_INSERT_TAIL(&ctx->ps_processes, psp, next); - return psp; - } --- -2.25.1 -