Message ID | 20231016165740.1374614-5-stefano.babic@swupdate.org |
---|---|
State | Changes Requested |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <swupdate+bncBAABBCWXWWUQMGQEGFGQ6DA@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=f8aGQuOH; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::13c; helo=mail-lf1-x13c.google.com; envelope-from=swupdate+bncbaabbcwxwwuqmgqegfgq6da@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lf1-x13c.google.com (mail-lf1-x13c.google.com [IPv6:2a00:1450:4864:20::13c]) (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 4S8Nb45CBbz26jY for <incoming@patchwork.ozlabs.org>; Tue, 17 Oct 2023 03:57:52 +1100 (AEDT) Received: by mail-lf1-x13c.google.com with SMTP id 2adb3069b0e04-5042eca54a4sf4783474e87.2 for <incoming@patchwork.ozlabs.org>; Mon, 16 Oct 2023 09:57:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697475467; cv=pass; d=google.com; s=arc-20160816; b=swhD4UDPKv/3qmc3G0XOiDhg1W4W0D3q6SbmBnwBWQdaxXeOnqQhavxTDwPPXj1TRX eEtSxOC+Uon3a7mQ57RK6tf7tQWoIF1zWatHoshrgicjDfSszxidJVzr3e+DOaKHrgGR qLAcm5JoauZyJDZzSsQ6g3XzfQkSA/bUxVR77XEzy8NI6ok4F6XsOJGflNyEbf0ZwgIL O9l7CLkYC2fi9cYzvh3KgCTf6e8jFBjLx48g/0jwbO6DFr6s/nXt+65o3/t5wBTnH0A4 44CakxM7a9Za7bQHycdVK3nsleYWWNBb4DQ8Ei9Aw1agWqUagUf7tamCiTNoKkthd63c fDrg== 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:ui-outboundreport:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=yyk7TlN5T+YrZDYrEcTJibcCjxiEDU0m1l53W9ImeKk=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=DN0JX+UrDr6WWog6HNkUqaq2vnOt9BLW51SfGtWhK9r8iI4JZ0F8Vtgz7eBsbx7F8p HdN9vWVVSueNn+tndCV/dKml3SXQGo3EsdZxOkNkaHCjyP4cljVQQ3I6q1bkfUcmovz2 8k1V6csdSJaxi2yQfp6r0sJWiyw4dcNc2P4dMLjZiRaDGjX9arDEow3uDBjTRjRiSSB5 IuGxT7jg28WmO6fgewA1mVDfGVRxBqQguFrQ6TwImxcc9JCw+ClXCiO1aGUIOQPOwPFY oG3qkfvJDOyQyZS2U5jwSsGa0waCzIK7rJPLCPGhqQfonM/zJbPab9jkzTJfz4fJkynt +qxQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.73 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1697475467; x=1698080267; 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:ui-outboundreport:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=yyk7TlN5T+YrZDYrEcTJibcCjxiEDU0m1l53W9ImeKk=; b=f8aGQuOHyYdQOc+AT1smbSbyr5ACrnK3tCIkTNsAvqOBRVbZwCLmPVae8UtqlitUu/ Yvh30Ti1Z9EugbVG6YpKpc/BTephblxSO4BrSw+O/SgH04O3jotRmyUziP8tIiU/ymHz MTUWQ438250ye14+k0enGHgY02LtGLRTjEq/VXIwdomL2zu0uLiCtmnQkpq0lp68Imvn uWU8gfHswbzChLRbRc3tKhF3OWLecbov78qcUCDipGxVWGAsOUdwyfnX2+wEBAjJydQ7 v4sjOurTDzQcnM1NF4XoyXg9QPqYVOsfy1T65p8rPJf80MzDK3BiYM9HQ/wtVW+CO4Ou bH2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697475467; x=1698080267; 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 :ui-outboundreport:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=yyk7TlN5T+YrZDYrEcTJibcCjxiEDU0m1l53W9ImeKk=; b=lduw2CLqBmI4FDUSSm78oYH4l7LzdYZTJZBZu9j0CGs/pBzDD6SeD94VfdPEIz4DfB Zaq6fUHGmEj2wtysWq6M8un25dlC5TgdfYbkqeO9ZLChX8GWGpf32L7etTO5a67UKe2S WnmO//LRzJdFklwe05OyhWJ6woDEUKTmcGrBgFY4XRStr2S9C8RvhJhc759sMypN/BN9 wbiyRWHvdaayao5HhQQfEXYr3VruyPReF0807fkmq9ldaZDU2TxHSdgATcoBNkBdU8AI qcMD//FbuiNNaWEOwtc8vdR7+irWB4ZDL9A5ydblyymQlYem5lnEK9wMTkVy8QSElUFl VemA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOJu0YxrgithS5QJWptsJrHOquqtxgrtOq9VU9OuUsb5x/ihANtsdLoD 1LoXXL+l74syFZIwE7WghOI= X-Google-Smtp-Source: AGHT+IFAgQ9IVOK1/kWl15dPBwLpFfbju/OmHENc0ljSOgsdiviDlOvAdn9Xz3s0UClZ9Da7VVNVdQ== X-Received: by 2002:a05:6512:2255:b0:507:a6dc:9d98 with SMTP id i21-20020a056512225500b00507a6dc9d98mr6233605lfu.29.1697475466745; Mon, 16 Oct 2023 09:57:46 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6512:348c:b0:500:880d:5fa5 with SMTP id v12-20020a056512348c00b00500880d5fa5ls1348192lfr.2.-pod-prod-05-eu; Mon, 16 Oct 2023 09:57:45 -0700 (PDT) X-Received: by 2002:a19:f015:0:b0:500:d970:6541 with SMTP id p21-20020a19f015000000b00500d9706541mr27441544lfc.39.1697475464937; Mon, 16 Oct 2023 09:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697475464; cv=none; d=google.com; s=arc-20160816; b=ec2yhQrL9g2QaQYIFD6Lx3TM3G96NJSpzGYbcI1A4eBso/ep4498o7deyN3vp6ePNF cyoS1P4TqL34vG7cc/WCYcLzesCr2nCigNcIIrAXs3zr7CIV70CZdZ1xD1WdpjTkOc9x wQVPG88MkmO06pTcq8if/uinquICjiENF23JxQBMFlwvevF058QyEvOBYdDZ4tAHW00l VfqsOlErtpeksZ1VBUgLRbS2ndhnAI60TxFXWQ0xMccuMiKgnwaVVYpoOhtF8nnOi0CJ scrCGLL1FRhk8YqUNS31f/dOSn4hUPy3NgqCdO0i11feCVMv49uo0nwAkH5mq2FtFyIo tLfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=dOfrlcweoiy6BFyk8QOYXetM5hAvNixie8khuoBnHcE=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=SuSKHtT/qmE5kK4TSpKwx5/GzIY8A9VrfE9WkDO5+ZGQRNiUfEzbhFlOf1qD5KZLz8 b+QqFeBrry4b/2NU4wN1Ac8yyFzBcFd9DLie4ENn02ViYoaA8S4QZjyyaQxmP7CsZWkH FNjQh5bRGjpDDOSLRlSmm6y6bj3gM+kW1VXp01Y8RIhd7vWLbxGriLJ3OaSD//FMpPyf STnkWEryx75Z7fhL348WBDYhH7KlymhZ09/1maYZVf0g231Uj8/MuUXzOWsa59pKxjjO Nbpy1iqzrrJRh7aE5+0iZwa0xf2Z1EAFfPXzY8LnZ2aTfRUH7mBy7AyWOhFYYDe69Fx7 kiDg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.73 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [217.72.192.73]) by gmr-mx.google.com with ESMTPS id f33-20020a0565123b2100b004fbcd4b8b84si23372lfv.0.2023.10.16.09.57.44 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 09:57:44 -0700 (PDT) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.73 as permitted sender) client-ip=217.72.192.73; Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MK3eC-1r7CuE0B4g-00LZVY; Mon, 16 Oct 2023 18:57:44 +0200 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH 05/12] channel_curl: set len in the IPC for info field Date: Mon, 16 Oct 2023 18:57:33 +0200 Message-Id: <20231016165740.1374614-5-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231016165740.1374614-1-stefano.babic@swupdate.org> References: <20231016165740.1374614-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Provags-ID: V03:K1:FG0/fzlGjbXl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B7haVjrOkNpbiWK P4LNNW8va52YI58okd8/byAvWYmaE3NBOvueps4ddVuHdskMt+i5l4sOKPLpmJ9pIwLu5s8u0 WFg2p7PnrNLMrzA== X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 217.72.192.73 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org 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 |
[01/12] Cleanup: use #pragma once in all headers
|
expand
|
diff --git a/corelib/channel_curl.c b/corelib/channel_curl.c index fc645dfa..90ab3ea5 100644 --- a/corelib/channel_curl.c +++ b/corelib/channel_curl.c @@ -1234,6 +1234,7 @@ channel_op_res_t channel_get_file(channel_t *this, void *data) if (channel_data->info) { strncpy(req.info, channel_data->info, sizeof(req.info) - 1 ); + req.len = strlen(channel_data->info); } for (int retries = 3; retries >= 0; retries--) { file_handle = ipc_inst_start_ext( &req, sizeof(struct swupdate_request));
Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- corelib/channel_curl.c | 1 + 1 file changed, 1 insertion(+)