Message ID | 20240620084932.4759-1-sam.van.den.berge@gmail.com |
---|---|
Headers | show
Return-Path: <swupdate+bncBCMIXZEAHIIKHWWPWMDBUBBBM24NO@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=uruo6ohg; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=S/r3rDn7; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::337; helo=mail-wm1-x337.google.com; envelope-from=swupdate+bncbcmixzeahiikhwwpwmdbubbbm24no@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-wm1-x337.google.com (mail-wm1-x337.google.com [IPv6:2a00:1450:4864:20::337]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W4Z1N20Stz20X6 for <incoming@patchwork.ozlabs.org>; Thu, 20 Jun 2024 18:49:44 +1000 (AEST) Received: by mail-wm1-x337.google.com with SMTP id 5b1f17b1804b1-4247047e74asf7004905e9.3 for <incoming@patchwork.ozlabs.org>; Thu, 20 Jun 2024 01:49:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718873380; cv=pass; d=google.com; s=arc-20160816; b=Uopjs+1OklK19RemOaTqBMxRuAUHs8LdRphyzPYVRRs5jVzXy4CcMakwpuL8Uitgux OR4AHV721a7qjTirRbfTkadsHdi+NpQYp5+b2+UbGpwkQjO45aTpIQmRc+oIyTpN5U8o 0yLWwgkw+mi4jWNnem0sHhCmPy1kTzDZVjZQrJYWDCep7dZ8KL0Ff1wvhAZdF7dHCAzt zuuWOrSDmmdj2QQxhABxo7QbVeewvpbNLci65rhRYQncloGb1lvV4lzsq4mMcv6akkJb U7Sbljjm5kzCB3jI/awjRBJfFeZ6hZVLfzaFPjpwpHv9aRv3sFkEkaFdRxbjO5yBiGmJ 7odw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature:dkim-signature; bh=aS/KABk5vX3Y9LFEpuQrxorp8TH/bVhg/7yrxb1ekQU=; fh=NEPTt2tPytt4hreGBnELNqXEfdtYEa6RLtaQVvXUFq0=; b=VAMSRcvhmr36Z4WTK1vWBWbzTmyjxNBxnNGH1clkVoiZxxQ6UpPDsNZKmw5rkGx56/ NfdWERpcdbT1CWV0dwP444TyNS4Ds09j6XN0Vo8oTVeZtfXqH58zeRJigsWYnsBbgGOf pQtBGF1Dqs++PK2OgSJVg9wCZqUdHiWUsvEgF39Yxj9er1Ez8JhpzvRL51u1dZIWYu7O 3FA1VtqZn4wbwrSx1A+5F/3QYnWoJaWH/ybm9hv9J8CgWFRBvsE1fNoB/gxGx8urpMAu vniaJhAe4V/vBWStuednwqN/Hbf9z7mlVX+jwHJaTEHrgsNVCxm4kylf/PxN+514hrbA RVYA==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m9g0FVB+; spf=pass (google.com: domain of sam.van.den.berge@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=sam.van.den.berge@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1718873380; x=1719478180; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=aS/KABk5vX3Y9LFEpuQrxorp8TH/bVhg/7yrxb1ekQU=; b=uruo6ohgb51v56UEZMNw00NroInQf2TmJXTgwuTpPEyzGw8mZkMJNVNGz8tTFk12cl dUab9LM+MTdQmdhkf4WyiK0+7fgSy3iH85QAyQsr1yvmHHqOgwloibyXYBvDn33bOarg 1qtZainMMUqM7uW3uNnI8E/otzG6Ebm5XCDukeYYxu68nHK+SRtohIoTw+Bg3WSMUbH/ asWC9D9KIFzph5WqMKV/l6fneYQMYxoOmCU3nH+DJ+Rz2M6httLartpYbCaAIkrIS7u2 lyyis1cZASM2+1w/6KiEB8JPpa/pafQuQj1ReubdSCDETcELHRmASILiGuEaRUdaV21g TMzw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718873380; x=1719478180; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=aS/KABk5vX3Y9LFEpuQrxorp8TH/bVhg/7yrxb1ekQU=; b=S/r3rDn7K+ZwZI4RMoU3p3iw5VZPnzNRqEOHSeUdDpnTWi2KhwlJpomZRsplgTmmaU 4PNNWON6t0zA74f3NkUFNLIBp0T4AdWXoaoZsuQlUvkLVs+m1GsW+S2/bnyLRG1nio2w VyG0zK5yTvr/2jJ/Dp9uJSpOE07vnn2JONNtZYjdV43315QVwK6RtBp8q/g1skUdu1P6 SY1MQvh466v5nocKmnNLTW1eg6ZnFNpygbLpAvlyD3rMno20/yOLNaJrFQrFV8lfjTij HPArely0POo+71W8dZoQUcEboKZuO/2NyqPeUI7oLPAWoWlTUs1D3eLmNA09vhqEEju1 iJgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718873380; x=1719478180; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=aS/KABk5vX3Y9LFEpuQrxorp8TH/bVhg/7yrxb1ekQU=; b=XSDAVoftbzdWTIY0k2P/tWPIJitOpO0SOYp7ydV0YXoeNF+UtYqpi47MPoR7kg/Qmm Ktu8d/v2V56bErHsKupRNcTp2lA1wbAw6GL+gcn4qaFA8LV1eqZN/FAanoS33l1QSqI6 WhMwb12dL+NvyU1ip2kVndbY1ipow1+RghqNevTJdb+dpWQsnvENnzAcG1T189ilZIKR Xt6mKWr8dJ7OygdWaSV6HcPX58QN1P2v+7+XM8/JGUylcA4zjT1gP1rdLr5MVz4pMGpa OW6g1uNnC59zEXCaaqfBi/XrjdI0Gq1xPUq826PLmN0pckx39ZEnJ401RzzuMNnAwc+N Xvgw== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWEi7KCehuWq0n6lXn87qu6SxqWBfpKhDPkP1NMMbbbYxnbXrqOdup0lL3FFWO6j+zmhQlkVVWDlicx62pU+rioKfuvNDHoJlP29WDS/g== X-Gm-Message-State: AOJu0YylXh8mmKFPMmtPExXMUuPADFazpl0tHS5WfnzrvAF3WerqaZsB /g5XVN53cPVqu5ckZHFF01AwTxWc2qwrtuugAHzj+8rpqgZHvYOj X-Google-Smtp-Source: AGHT+IGSIj6rdb4qXMc/ZUhnEAYlfkjBkhmb1w4PAV3DvZlfJtB23srzVjjmqQEyf1VMPsmI6JaBGw== X-Received: by 2002:adf:f791:0:b0:360:79ae:dd26 with SMTP id ffacd0b85a97d-363170ed429mr4518519f8f.7.1718873379923; Thu, 20 Jun 2024 01:49:39 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:adf:e646:0:b0:35f:1b09:66d4 with SMTP id ffacd0b85a97d-3647c308efcls329064f8f.0.-pod-prod-05-eu; Thu, 20 Jun 2024 01:49:37 -0700 (PDT) X-Received: by 2002:adf:e6d2:0:b0:362:8dad:c6a4 with SMTP id ffacd0b85a97d-36319990496mr3737377f8f.57.1718873377452; Thu, 20 Jun 2024 01:49:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718873377; cv=none; d=google.com; s=arc-20160816; b=GGo9fAoqAkfvg+L1/4ZDhQq7JaLPfF/vHFSDK3MhgIvJZfnDmU6NC/489WqxjxQcCO u22/lvI6x44OsQPTvfPbXB73FC4IhwAifOOZPcYHRgAWJ024Yp9CVpHXsfLsw8T0aN3k 68g1VCmbtIbEccsfzO2iiqZ4Uir88YMeiDn9Y+041zvmAgzOGqn2R8awuuHF+7bZpAa/ 1pUaZlhxUJXxbKEOpP8Sm8tCUHtb77Kaz1gjaCe/bJZskc3xim5yJFLhJO9sTB6ynQiD ThQ9vw7FKkBRaLLdxVNfkrUfIbEV7aImicOBlfC/9aHlCPRtNtf2zP4aw53fMIU0fCMw VJmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=CAB5Qg7AQkuvRGWftKEvj6NUpR+GvRJSlsW6V7dVvtc=; fh=zPj9XISeXCrbHSE2NBddncS14JRDUgXVZH7cnyOa3LQ=; b=xfagsR0BSQf5BPxi+4s/pUQeYByf0gimS/HcffLiMrEU1mpo8zqUGVRsexiYZQTxn1 5LyhAzayMk7DXe3MOdkA6IOhsEz4/gnwywcS4bOmOr8YnijO1gBMZgAsI6eFzflBlaFi xrdjW1qn6G0CFpOOu6kz1m98Q4h4SuSNEFUu/XbBJhoGqpkSNA3UEOm+PGqOPk2tWVqm zGOv5qOXwSpxwBPYM8D88XTqwWzXCatDCe0ga6jvnmv0iMnQymRWVL5nYk6c/BAGcAOJ wQEK2NmAoV69zDnlFIvA5SZPyAI/1OdWJPYQJe1Xw+SBqlliD94NrT4PvvdiFJKJKDcz XQMA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m9g0FVB+; spf=pass (google.com: domain of sam.van.den.berge@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=sam.van.den.berge@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com. [2a00:1450:4864:20::129]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-42471e65fc2si2550465e9.1.2024.06.20.01.49.37 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Jun 2024 01:49:37 -0700 (PDT) Received-SPF: pass (google.com: domain of sam.van.den.berge@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) client-ip=2a00:1450:4864:20::129; Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-52bc27cfb14so807012e87.0 for <swupdate@googlegroups.com>; Thu, 20 Jun 2024 01:49:37 -0700 (PDT) X-Received: by 2002:ac2:5b04:0:b0:52c:9523:f0db with SMTP id 2adb3069b0e04-52ccaa523e4mr3248789e87.45.1718873374380; Thu, 20 Jun 2024 01:49:34 -0700 (PDT) Received: from OP01518NB.WTSOUT.OIP.LOCAL (mail.oip.be. [81.246.50.154]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f881fbdfcsm347392866b.121.2024.06.20.01.49.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 01:49:34 -0700 (PDT) From: sam.van.den.berge@gmail.com To: swupdate@googlegroups.com Cc: Sam Van Den Berge <sam.van.den.berge@gmail.com> Subject: [swupdate] [PATCH 0/1] Fix failing A/B UBI volume updates Date: Thu, 20 Jun 2024 10:49:31 +0200 Message-Id: <20240620084932.4759-1-sam.van.den.berge@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: sam.van.den.berge@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m9g0FVB+; spf=pass (google.com: domain of sam.van.den.berge@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=sam.van.den.berge@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
Fix failing A/B UBI volume updates
|
expand
|
On 20.06.24 10:49, sam.van.den.berge@gmail.com wrote: > From: Sam Van Den Berge <sam.van.den.berge@gmail.com> > > Commit "5604c225 handlers: ubivol: Allow specifying MTD device" breaks UBI A/B > volume updates with an atomic swap at the end of the update because 1 strlen > check is missing in ubi_volume_get_info. > > I think this bug is pretty serious because since release 2024.05, the ubiswap > fails after an update and hence the update fails. > > Would it be possible to create a new (patch) release with this fix included? I will take care of it and release a 2024.05.1 Regards, Stefano > > Sam Van Den Berge (1): > handlers: ubivol: fix missing device strlen check > > handlers/ubivol_handler.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
From: Sam Van Den Berge <sam.van.den.berge@gmail.com> Commit "5604c225 handlers: ubivol: Allow specifying MTD device" breaks UBI A/B volume updates with an atomic swap at the end of the update because 1 strlen check is missing in ubi_volume_get_info. I think this bug is pretty serious because since release 2024.05, the ubiswap fails after an update and hence the update fails. Would it be possible to create a new (patch) release with this fix included? Sam Van Den Berge (1): handlers: ubivol: fix missing device strlen check handlers/ubivol_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)