Message ID | 20200529065831.9062-3-sde@unmatched.eu |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCLNZFWOTYIRBKPFYL3AKGQE3MPQQBQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::140; helo=mail-lf1-x140.google.com; envelope-from=swupdate+bncbclnzfwotyirbkpfyl3akgqe3mpqqbq@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=FC+TwNRL; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=a+AHu64k; dkim-atps=neutral Received: from mail-lf1-x140.google.com (mail-lf1-x140.google.com [IPv6:2a00:1450:4864:20::140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49YFlx6Pxcz9sSr for <incoming@patchwork.ozlabs.org>; Fri, 29 May 2020 16:58:53 +1000 (AEST) Received: by mail-lf1-x140.google.com with SMTP id a11sf423236lfk.1 for <incoming@patchwork.ozlabs.org>; Thu, 28 May 2020 23:58:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590735530; cv=pass; d=google.com; s=arc-20160816; b=04g4Z0HnbNbGFgrOcdVMJL9uAA5mH6gFjri+FzFL5nDTjxF9vyFPaZQAICkAl4SGkA SXB/N3a4Aa/0OKK2XH9wKYFypMZeGr5YcqIxjkgcGpYopVivXHaLykOOPvCBykw7MUYE NQhCtsX4LSf8lN64N1mOI9Nwdc86OR42XMWkmNDr7fRED9tIedDWGOE66bGydoA1WNo4 hwSsMAtdfXjxaB3J/3Cdaxm2/kO3XwsTREHuSokZV92mSXy7RMSze0F/+bXyejoSj219 LX1XHMsMGe1Tr3gSoeRyCjeVNk30BNBLV/ipwmrQ7ScNstRwMXiBD9dv0GqEc4Adn1R4 Ka5w== 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:references:in-reply-to:message-id :date:subject:cc:to:from:mime-version:sender:dkim-signature :dkim-signature; bh=5Gmn/jZkmvv+3A2g72m832yoVsFhexJQaCaIH90QYjI=; b=LMZ+iGXTKDs4sRhWhKvePKRfelq/AaEr9X+aTqu30/EJX1xBQVp04iQsomaqoyffRi pG0xnDs/BgkOxnngeXufixGYaKYtE9FcLK00CfZSY1TfHEoT/mJ9qZlNLo3T93lUMt8a o/uesKS05cxLl/8WyvN34TswdcaApOWVRwOE8NeSl3RHY2+rRNzK7QA0DZYvbkc6hxh1 Ev53YoHoeOaHWVmY2iqBjeshRTCcMxo/X/vYJ9h1bxrin9Uc6ksrRJkFKZJLnHsBCHjl offBuJLX0J3NHOEsOYuciMQVUOVInnax6F5c/5PiMTMANV6MttGoWBaqzBxu6whrd9rl L1+A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="lPXkq/U3"; spf=pass (google.com: domain of highguy@gmail.com designates 2a00:1450:4864:20::643 as permitted sender) smtp.mailfrom=highguy@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=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=5Gmn/jZkmvv+3A2g72m832yoVsFhexJQaCaIH90QYjI=; b=FC+TwNRLIbVvga6PLQNI3g1nf9rV+ht624jcyxhcEdxBpWpg62pfI70sbliu4hemcC JssPDYbuHobn3vOjuivWy6Y3M4Lo1BXFtifsCyubBoaD0pSK7ubbnP+PruflXr+4Hr9M N0Yeu2EYGVqkjAR7Jn6qaRJW2WL+B/SF0mYZ3tDUypEvwRHi9bfwPQkYg90UqJBIyq+p uuBMpVCuXAIb4F1hVgfTBM9X/ZVFqzZAZGttp2t3DCwh3N3MFtBD0+VYjYQ03T3Z720c 9CxLgtaWXdQnSVd7DE16nJe+zH5mgkZgAJfj3bU4xpq37VzHBdw4GjbF6IE1JdLI6VCc DE0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=5Gmn/jZkmvv+3A2g72m832yoVsFhexJQaCaIH90QYjI=; b=a+AHu64kUwXItdUIl/R64DByyhSKzpWQBis/c6dY7WSluJsOJkPjfs9wJ8DVIHrlko dqGit6onolNI4rSyXTabDa8GkLGOoLb0VMDZ5DESwK8k9YDX9TxpTesMgVjnauV5EW3x 789F0egdRafmRYRI5EolDFsP8Q7c2GSpgiCBVqSPfJryqUzxbZwRA84+jfZ1JDBuAAoh cX8TgrvAI1R9SwgJaS5IWAXtYO3FfrYXOnAudW7Suene/hvXRN6PggCOimL/yQQsSP0c 54JRXLG1xaAZKfygVqNe5do3udxeWwkIex1M7dMYBuLAINafej8XLlEb+Forx1I3fdyR 2QGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=5Gmn/jZkmvv+3A2g72m832yoVsFhexJQaCaIH90QYjI=; b=oEwTVWf1p5BLDRwbmsA4q+hXD5LPt2IXbQCo9LNdRAZDlaqoLdmLQUSDtocK0UKacS vTTT+P0r6dE8wFaBDeupt5j9/6ypZ7yjYfuzh/PDWQCBcQln0U29ocwpl/yKdyzKvPXr 86jAWzkxiQTUaPcZTR8KyZ/vJgGbImo3rxcxL5T9kIRwlmujRVZNx7xtZPx1T4TB1Wd9 TIjeATzpYee/RCNt4DJpUbN6txoIKX0wvUYgPbXkCtfqBq+QwuH+AFSspzUDnUWY+RXM hOmvwXsTsV/BxSTGAT/ft/r3GkNwWH7XA0m0DH0JFkM6psok5RbOrQJLLAN8cCbCcWT8 Q+bg== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM530Kpz9G9Zte4uEQ6mvHOH3UV3SZFN82/NhNfVnKuMweNz23gFi5 eEy505zd8GiR20ZZwx6b+nM= X-Google-Smtp-Source: ABdhPJyTNF9yZjfwKJVCmGsk9jw7X47Cy9rfvdhWrTwYi7NFG+TRsjAkHt7iSQtnbDTEwVC6VmXyTw== X-Received: by 2002:a2e:b0f9:: with SMTP id h25mr3557315ljl.18.1590735530151; Thu, 28 May 2020 23:58:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:8599:: with SMTP id b25ls22714lji.6.gmail; Thu, 28 May 2020 23:58:49 -0700 (PDT) X-Received: by 2002:a2e:b524:: with SMTP id z4mr718856ljm.48.1590735529335; Thu, 28 May 2020 23:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590735529; cv=none; d=google.com; s=arc-20160816; b=cLVLhOZfIwaRrY6FPNmRZ0A6GL42tK7OYgTFwLEpO+3j4+wcdXz9cSh/2C5Jm7PEkF tcvK1RdB6492zcxc4KOWvxLk2LecsprIUz4Ha+geogqBdCCczwIXAjkeGENih5/yf3B7 QM34rvq1LQkgjwEfYWcpTjg1QtSGF0uhvdQPonuoWmkywKT3ftGJdTCH8DbqPaQkjQvj 9s1hIy8sgft2t9w/LCXEeiCfR50olHKyuMh0mQtRbqrB+gjG/9HL+WBwRvlnOcdahMU6 UfXI+n1t0/HBU1cF1c3kBSKZ2Oc7MTyR1BShYCMhST9Uj/KljrTyJQMqd0kYhxYlvckY 429A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B6ZQdVkjGFYenI4ovhu3+Tu4KxVlxC/Y+XxfjD649Bg=; b=WvXTbItwFruQDY2TWtqd5NxHsnA/AnOhllVY2kSKfC4yihTFMHhCY77L8JMZLRFsK2 lyYqW4s3JY4mwUt4LKqmlaRJNRZ2vuOoSuQ63Mypzk5m0VRXk93MG/dTaP+1UtlbZDGJ uc0Qj0LLMXYEGZ0zdic4pJeC2BBt/5OWkzg0MGcqe6+N9+qm9v4v6ubNrmCGjAENfkl4 fAYV0xu9AbMtJdXAEq+E7pslblla5aPadTHGq+5ebcnWkZL/NOSm15DuyuHYs1ctp90v RDYHQ64QkmYizdbiN5Ec7I2bmLAYQPWr9ndm6TZ0rgsmS1s2gpQe7WQS6Ruymv724Sm8 4fLw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="lPXkq/U3"; spf=pass (google.com: domain of highguy@gmail.com designates 2a00:1450:4864:20::643 as permitted sender) smtp.mailfrom=highguy@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com. [2a00:1450:4864:20::643]) by gmr-mx.google.com with ESMTPS id b20si545191lji.6.2020.05.28.23.58.49 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 May 2020 23:58:49 -0700 (PDT) Received-SPF: pass (google.com: domain of highguy@gmail.com designates 2a00:1450:4864:20::643 as permitted sender) client-ip=2a00:1450:4864:20::643; Received: by mail-ej1-x643.google.com with SMTP id y13so1030738eju.2 for <swupdate@googlegroups.com>; Thu, 28 May 2020 23:58:49 -0700 (PDT) X-Received: by 2002:a17:906:2343:: with SMTP id m3mr6180210eja.301.1590735528914; Thu, 28 May 2020 23:58:48 -0700 (PDT) Received: from sde1.telecom-it.be (ptr-dv4l9au8mfcs6krkuj6.18120a2.ip6.access.telenet.be. [2a02:1811:ce13:ba00:485e:9916:929:292]) by smtp.googlemail.com with ESMTPSA id u20sm6051738edy.80.2020.05.28.23.58.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 23:58:48 -0700 (PDT) From: Stijn Devriendt <highguy@gmail.com> To: HIGHGuY@gmail.com, sbabic@denx.de Cc: swupdate@googlegroups.com, Stijn Devriendt <sde@unmatched.eu> Subject: [swupdate] [PATCH 3/3] Bump size of ivt_ascii field to 33 bytes to include zero-terminator Date: Fri, 29 May 2020 08:58:31 +0200 Message-Id: <20200529065831.9062-3-sde@unmatched.eu> X-Mailer: git-send-email 2.17.1 In-Reply-To: <0543dba8-ff25-e539-606c-d638e6f41cef@denx.de> References: <0543dba8-ff25-e539-606c-d638e6f41cef@denx.de> X-Original-Sender: HIGHGuY@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="lPXkq/U3"; spf=pass (google.com: domain of highguy@gmail.com designates 2a00:1450:4864:20::643 as permitted sender) smtp.mailfrom=highguy@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 |
[1/3] ascii_to_bin: rename arguments to clarify function
|
expand
|
diff --git a/include/swupdate.h b/include/swupdate.h index eccd54a..25defed 100644 --- a/include/swupdate.h +++ b/include/swupdate.h @@ -74,7 +74,7 @@ struct img_type { int compressed; int preserve_attributes; /* whether to preserve attributes in archives */ int is_encrypted; - char ivt_ascii[32]; + char ivt_ascii[33]; int install_directly; int is_script; int is_partitioner;
This field originates from the sw-description file where it is copied using strncpy - i.e. a string. It's also passed into ascii_to_bin, which expects a zero-terminated string as input. Signed-off-by: Stijn Devriendt <sde@unmatched.eu> --- include/swupdate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)