| Message ID | YT2PR01MB598346C2004E4E51557B3499B025A@YT2PR01MB5983.CANPRD01.PROD.OUTLOOK.COM |
|---|---|
| State | Accepted |
| Headers | show
Return-Path: <swupdate+bncBC47DPFNUQCRBIUEUTCAMGQEWFUTHZI@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=jYOXyPiO;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com
(client-ip=2607:f8b0:4864:20::f38; helo=mail-qv1-xf38.google.com;
envelope-from=swupdate+bncbc47dpfnuqcrbiueutcamgqewfuthzi@googlegroups.com;
receiver=patchwork.ozlabs.org)
Received: from mail-qv1-xf38.google.com (mail-qv1-xf38.google.com
[IPv6:2607:f8b0:4864:20::f38])
(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 4bs28f0S27z1xvJ
for <incoming@patchwork.ozlabs.org>; Wed, 30 Jul 2025 03:17:20 +1000 (AEST)
Received: by mail-qv1-xf38.google.com with SMTP id
6a1803df08f44-7072ed70a37sf76209146d6.0
for <incoming@patchwork.ozlabs.org>;
Tue, 29 Jul 2025 10:17:30 -0700 (PDT)
ARC-Seal: i=3; a=rsa-sha256; t=1753809445; cv=pass;
d=google.com; s=arc-20240605;
b=JxqvPxDzDydNoESqM1Svu+kkfPxZkaHLaYnMi7HJ20ER0c7M2D0dYY6PIuPP8geI8L
c9qq1SwIrGFfq5EQQRy6yZBMFM/cIMRNDeetGsYiuo0c6iXYrJgZ25HDQbTqm4+H4xZR
6FWvhcC84frnem9go8jKw/9K2e8FSgGd5pHMhrujNcrA0ZrrSmLpzi+mGrXod33SwNc0
KXkBX0hekZa02I5mpJJwjSruEDLYfeWrL7VErA7pwFVeZ4IMX3QKsESY2fVh1BPhg9qZ
lK+adfnCE274onJkwo/ZPfjC/q3k77FkHXRrWqBRr01KkS8juzvn0oopX6bBq2h0sXT8
vfJg==
ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:mime-version:msip_labels
:content-language:accept-language:message-id:date:thread-index
:thread-topic:subject:to:from:sender:dkim-signature;
bh=x8Q1F4KiElc6tU/dOPeEyV00cR5DhNvKGGO5egedR1I=;
fh=ZakFxA4sd/cZ2nd8L3eINc487kA9phHN/GOZbog7KUs=;
b=T4dwOEKe0/HU20Jri11KpWBSbQ8bIwXKAsZ/5gIV16WzxWZu9DrBx3m9eQBcTnZUdX
nlzKTG459Pz7z7HwObY5UuMGQgiVSM5PXZvJkSVYOXrdOhiMmD1/QspxsGi0WZAOORwN
QBUSXZuY3nwrgJAGEvVYyhYwmQQrWvjlYAlaICg8pGE9w7kujn2NbgMgmgbxwzZhaPmG
vUGk9E36UqSRW2lyNJIMU5BCRj4YcSxXyNzQb9R/jNtdPar433G2m9SCIUWtZIrv3cWV
NzPBle3Dfx/PJyRyOEIHUyQuWotMuf40z47+EdlvkiRGFf+cffISCEhdSJkTvlEEj63k
lnMg==;
darn=patchwork.ozlabs.org
ARC-Authentication-Results: i=3; gmr-mx.google.com;
dkim=pass header.i=@biointelligence.com header.s=selector2
header.b=Mq0ftzo3;
arc=pass (i=1 spf=pass spfdomain=biointelligence.com dkim=pass
dkdomain=biointelligence.com dmarc=pass fromdomain=biointelligence.com);
spf=pass (google.com: domain of pbergeron@biointelligence.com
designates 2a01:111:f403:241d::71a as permitted sender)
smtp.mailfrom=pbergeron@biointelligence.com;
dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=biointelligence.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1753809445; x=1754414245;
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:msip_labels:content-language
:accept-language:message-id:date:thread-index:thread-topic:subject
:to:from:sender:from:to:cc:subject:date:message-id:reply-to;
bh=x8Q1F4KiElc6tU/dOPeEyV00cR5DhNvKGGO5egedR1I=;
b=jYOXyPiOTB+320klPEZvva8873SdCPEhCzM9QKulbf6zHR2B5ROIb68PLaPSFKepS5
W7343WXTFKctRAON5Wc37htAgmqYCr/tptkiWD6i69jCFPlymXPHFIGYLAcNvF43R8GM
wT0AxK7XLFeJcf+3ZX4T1NvBlBEteULOsiMt/8VCRwUQRytTRGwQfT7j0v9FL9mHLnuQ
Cw8dgFT9LerlNc/lry2ynVdqbRL6/RMRQVtRyGPoawpBySfkUJ/k9km7IgmXG7g2IcAY
htmW70QWTN6MVGzO/kUTcBa9kBHwkyUcjzZ+Hijf5LgpRgwqo7y8YnxN171W9Sma+Zas
z3Mw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1753809445; x=1754414245;
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:msip_labels:content-language
:accept-language:message-id:date:thread-index:thread-topic:subject
:to:from:x-beenthere:x-gm-message-state:sender:from:to:cc:subject
:date:message-id:reply-to;
bh=x8Q1F4KiElc6tU/dOPeEyV00cR5DhNvKGGO5egedR1I=;
b=AmzSh/kwKchIU6FO/BAVdLwP44xDBQJ6JCJAckSzTHDsxvGcrdCNnw2W6wf59O2kGC
JqZeICw9mUzGcFup1zAMuLoc6vdmYN36KzReiGCJyg26tCzIRqOQHmuXnY1nujgNfJ+R
oH5M14TtlI0/NRaLWfxXDQYd7SjKhNdyIbvlyI575DhHVu2pbFex6yPz29KnNGR7uzmK
arIeDdHDTPlsjorjHXaWwZoquD2No7qZGv3UEBUa1CBaJNO9nM4/NKIW0GWwd+zrhy9O
/KDYNnwmD9wYLIMcw62g22O3S8q7X2rALbW5J5+XjfSh6zPB4qhiJx/Bee8bJDQymqFN
zpFA==
Sender: swupdate@googlegroups.com
X-Forwarded-Encrypted: i=3;
AJvYcCWgODynUYNDUuQMEtYIqmnX2W1YJoQYLn3V6U6zREg+dcPRFA86xIe4XdcFsR2bgj6W+63HqZLoCg==@patchwork.ozlabs.org
X-Gm-Message-State: AOJu0YzMkv1Ex0hiSYdvmPHm+0jmq7V21phZP+Wb3ZbuGEv9g4wVgsox
P7SdLP23INyKNzCHljMoL6lKHDnNqtkP57GgZWXoIlesPfowVGvmJpzB
X-Google-Smtp-Source:
AGHT+IHlE4FywMtHFkkoIaebyjWMlgDXNovYxuK9pGLVYBld5EihcAjmykVjhcaVmaJqOaezB9F8zA==
X-Received: by 2002:a05:6214:f23:b0:707:1322:6ae1 with SMTP id
6a1803df08f44-70766994077mr2513406d6.0.1753809445183;
Tue, 29 Jul 2025 10:17:25 -0700 (PDT)
X-BeenThere: swupdate@googlegroups.com;
h=AZMbMZeDa3sTwKHh1Twzl1yWz54fi391JoVTyj4HthrloVd3nw==
Received: by 2002:a05:6214:320f:b0:707:4680:6fef with SMTP id
6a1803df08f44-70746807264ls38574696d6.1.-pod-prod-06-us; Tue, 29 Jul 2025
10:17:22 -0700 (PDT)
X-Received: by 2002:a05:620a:c4a:b0:7d5:c4dd:8faa with SMTP id
af79cd13be357-7e66f032c8fmr24031685a.40.1753809442392;
Tue, 29 Jul 2025 10:17:22 -0700 (PDT)
Received: by 2002:a05:6808:8689:b0:40c:fd76:4b4 with SMTP id
5614622812f47-431a3bdeeb0msb6e;
Tue, 29 Jul 2025 09:56:45 -0700 (PDT)
X-Received: by 2002:a17:903:1aa5:b0:240:41a3:c18a with SMTP id
d9443c01a7336-24096a72c27mr2024145ad.6.1753808204230;
Tue, 29 Jul 2025 09:56:44 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1753808204; cv=pass;
d=google.com; s=arc-20240605;
b=Van/h6bYISemcIrx6LJ0sG0weOVkM/2NNasQ0iPjSUfBd62GFKD2PoocM/JgQQMkYm
GxoCZPBGhxhFHAfY7HIWKcHNcKr2NVM+t8+kaPTTpwpjD2Sx3rZjimL5UUQazOHluTJd
YpGGtaQ1CTtvrtm7shABCS5KxookrYErsHDThLFe9NqNhVZgOe4EF+LMGy1ONWzD4umf
EplM7L4WlhX1/6RlMWjtcT8cSL74HI5q04GdHISUL75rbpiZZGfEELMU6euRTZ5OUB3j
Ow671bY8TAxOOXaNXVZFYZDVYPoovxhxHeGLNrL9Ci84W3cujlxX8ijjvS6OZgSqHXoY
CGcQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=mime-version:msip_labels:content-language:accept-language
:message-id:date:thread-index:thread-topic:subject:to:from
:dkim-signature;
bh=SiU2aoyI1F8zchLfna8xZ/7CvMGR8QL/bqjmEvLCMt8=;
fh=262T970yE3bqnMshdE4s95nQ21s3ybbkQZYvqrj76C8=;
b=hINIYZpXO/GgzCZ+R5ZU4y6OFqZEpcM/9dWYE3WG1lwPDNhzbPGRMIFapdAM/nPVau
YqAiuHYxDBAh0DX3LExJZPKn1h7a+TULomWsiXcbo/6eTBsBXPdlT6bkq9if2lQHUSU4
CpaOYzAk7XXZO7mGOxIFtMCiRv5UZiw0YgWmP/DvTsmEXyXVtxmX40PNtIJpKOybkkI6
ZwVrdbSl0vHr3MgFNpUFtZc1QJwkAsLGSPKpR+z/ZPJbZ4j03LqjI3y+j8S9at74njbW
KfU1V+sTGgfWtSnfqn8NbSVBOczynagPQzYZuBNdbFhLZYKLyvCSFznUcly0yCMFNiHC
/lGg==;
dara=google.com
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@biointelligence.com header.s=selector2
header.b=Mq0ftzo3;
arc=pass (i=1 spf=pass spfdomain=biointelligence.com dkim=pass
dkdomain=biointelligence.com dmarc=pass fromdomain=biointelligence.com);
spf=pass (google.com: domain of pbergeron@biointelligence.com
designates 2a01:111:f403:241d::71a as permitted sender)
smtp.mailfrom=pbergeron@biointelligence.com;
dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=biointelligence.com
Received: from CAN01-YQB-obe.outbound.protection.outlook.com
(mail-yqbcan01on2071a.outbound.protection.outlook.com.
[2a01:111:f403:241d::71a])
by gmr-mx.google.com with ESMTPS id
d9443c01a7336-2400b4619c4si2865075ad.5.2025.07.29.09.56.43
for <swupdate@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 29 Jul 2025 09:56:44 -0700 (PDT)
Received-SPF: pass (google.com: domain of pbergeron@biointelligence.com
designates 2a01:111:f403:241d::71a as permitted sender)
client-ip=2a01:111:f403:241d::71a;
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
b=w2oxHkUyBgdYoCxX70tWrrNT6xitthu+REvnu/bhCaopsfyVRNttksaZnJ4Aa+vbzk0FcmkBep2WMCxF8OsLs5+lpcXngYLWhfOHR9ghR7cxw+xhh1vJEaPhFixIxC/YojNWXzKLDDFcnYnpn5NMhXewXPKK+KRatgZ7xQs+4/Q6iGev88hTTqK1FOw38xba+If1R9dG+tjIf9kqD8sq73A2TP4wo56iwOyTYyO51O9Wy6bgPen3ObYR5bQtNHygmxAsIUE+r2haXdrZMZT0CeaC/4LgfWhT+Yt3bdfo2sorL+V3IJ6BoN+kng89VjadHXpFezk1V0NCilCdXaWW3g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector10001;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=SiU2aoyI1F8zchLfna8xZ/7CvMGR8QL/bqjmEvLCMt8=;
b=NCaXQ4hyzpYqlOQ3rF7aYKvwSaiVxZZxyIokIg9tPyuOSaY440vJn1iZiMaXpg8EIMMEvSMYzhtQh4XtM9vxmjKrPYbpTvwxdTLpJjdU/GJZwz3srPuzpbhTiRBRfyhqUoGR+v/glq3lwuYizot35BIzIQAy16K4GMw2ZcG6sBKwPZT4ZBlWgn0BCFc7cYiG8m/hB1CsGB/GmvY3+7jpCgcxQLYREDY10znkQ4ppf1boMfdaxhaTNLXsr+WReahIZTezIswDtJChRoygDQa/poDxHD6l8AzfRL/PQswxtumO9zdFdWd7PRuSxDGNjKpvt5ktBAsVU4Qq5dfMtRQizg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=biointelligence.com; dmarc=pass action=none
header.from=biointelligence.com; dkim=pass header.d=biointelligence.com;
arc=none
Received: from YT2PR01MB5983.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:5b::9)
by YT3PR01MB9850.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:8e::17) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8964.27; Tue, 29 Jul
2025 16:56:40 +0000
Received: from YT2PR01MB5983.CANPRD01.PROD.OUTLOOK.COM
([fe80::7ed0:195a:af62:8a8b]) by YT2PR01MB5983.CANPRD01.PROD.OUTLOOK.COM
([fe80::7ed0:195a:af62:8a8b%5]) with mapi id 15.20.8964.026; Tue, 29 Jul 2025
16:56:40 +0000
From: Patrick Bergeron <pbergeron@biointelligence.com>
To: "swupdate@googlegroups.com" <swupdate@googlegroups.com>
Subject: [swupdate] [PATCH] BUGFIX: Fix write length during IPC socket write.
Thread-Topic: [PATCH] BUGFIX: Fix write length during IPC socket write.
Thread-Index: AQHcAKmthbHJ+QmctUuHKBZ1lp0CRA==
Date: Tue, 29 Jul 2025 16:56:40 +0000
Message-ID:
<YT2PR01MB598346C2004E4E51557B3499B025A@YT2PR01MB5983.CANPRD01.PROD.OUTLOOK.COM>
Accept-Language: en-CA, en-US
Content-Language: en-CA
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: YT2PR01MB5983:EE_|YT3PR01MB9850:EE_
x-ms-office365-filtering-correlation-id: 323b7804-cb2e-411f-e2cc-08ddcec0e3a5
x-ms-exchange-atpmessageproperties: SA
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam:
BCL:0;ARA:13230040|376014|1800799024|366016|31052699007|39142699007|13003099007|8096899003|38070700018;
x-microsoft-antispam-message-info: =?iso-8859-1?q?j/Xs3bMCbNT25rIWjfgxuS5yhv?=
=?iso-8859-1?q?3xoDk8oqfFJDV8JxhcgPEtqcFbyLPhvnCqjctPYAOVKAwkwArP4LdTfafupC?=
=?iso-8859-1?q?Y4rM08Pevus5GbwsWmBABtSHdorLvDjQeD7zbjOZRQe1IP2bQloXysCH7hhW?=
=?iso-8859-1?q?Cpwp+gw7j3UlUTuVKfJ/AMPKeYtUYKJG5C39x2Z6JUwVZMeuke1L4Xq/w1yg?=
=?iso-8859-1?q?BIGdhNpBwMc7srhu48LJKdMtuixBOX29OCN8daiGaCjDHw6aL3h2UBSkPpu/?=
=?iso-8859-1?q?tb3LHHQSCvSyrG/YUOZw04gAoRTl/WVnogPLn1Lp3xCKYm2xh5PR74elPP7G?=
=?iso-8859-1?q?rBp2uphjke14nlcpG4wtld/m+s5y1SnwYvqpsl5LwPqIF+mxrgKHBqGNEDRY?=
=?iso-8859-1?q?MvVU1z5g0/zDkuHbIz/46D/kUJ649IZjNDv0igv7N/c4mAHOvagC8QYZ4hZv?=
=?iso-8859-1?q?TJI27lF0W75ZlqJ8ZgpBZD1agb0t2rsuBMsjQcyRJ3v3mvmV1VnmKH2MmtdJ?=
=?iso-8859-1?q?NKHSR1aDAQ3nSfyVHvJ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NCcQroW0z0TwC1Id1mlmBt2qLwU+lQR9YZ3MRF?=
=?iso-8859-1?q?aialjAHfc9sIYi2+z+iVTYPJihvy8KLjkWNYC4170bHhk=3D?=
x-forefront-antispam-report:
CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:YT2PR01MB5983.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(31052699007)(39142699007)(13003099007)(8096899003)(38070700018);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?oNRnePcaAoyogCENEQmOLC/?=
=?iso-8859-1?q?MBzicilM30K8ariUjFxKa8SqtClVjSkIiXS8zxodzFoO/GXqdHB2V0NK/iTr?=
=?iso-8859-1?q?lJyMWRweCdvPM6JmQ4li0ywZ7kdE/+AeRPbicgVOS2gj0jZp3cdOptWhDzDT?=
=?iso-8859-1?q?k/nYrpIy8yfO7Wve8bb6kDSZRCNCdUhaxI7kxILlFRQkIfG3BQ2GzAOkm3yP?=
=?iso-8859-1?q?rp0kwSmFyHfajrkvBbZXEeOkA+qREIe74hJhGHE4QeC4UxinKUpO1hg8QxKr?=
=?iso-8859-1?q?3dHnYvbjqIH3lyn0//U4ythTh1q70DPKEZGq6w8I92m8AOpZT1/e9FdfbPVX?=
=?iso-8859-1?q?MdtzUA/slCWMnz39bRz8wSy1WrZbqrakV2zv04NcxgjMtj4gc4UCW5o55Ijm?=
=?iso-8859-1?q?yNFVeKa5A5OC/oPFFPWwyBfXAQtVyp8wYkfQaqZF0da0mXmCCotVzGNHd743?=
=?iso-8859-1?q?EvoDG8pZfy4OR/LSJKxm/8/PbywkSU6/a0ceemELXfRKYmAw2fWMF+C0vgQg?=
=?iso-8859-1?q?xPK/sw+2/cUEX7tEmsiLxeO7YVd2rFHF0hBKwpq7oh51gxfw15oOn6BwStiW?=
=?iso-8859-1?q?nsDh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n9skxmdFwPD/83Axknd930op342Y9eQ4yIlz0c?=
=?iso-8859-1?q?yKh6WTXywQeiWZl3QKLCyqjuFFbvAWvYkFahP+Y9i1rMeDqbh4kawtd8bD1y?=
=?iso-8859-1?q?GsWAHlign6OOWd5aV673IBDAERoWp9+jyLyDkp4jpEKEdGaJMZgfn4d5Up6t?=
=?iso-8859-1?q?3Y1Y0DrTqbBYAKP+x4lOP1GMunCUjtvRga/LbDg=3D=3D?=
Content-Type: multipart/alternative;
boundary="_000_YT2PR01MB598346C2004E4E51557B3499B025AYT2PR01MB5983CANP_"
MIME-Version: 1.0
X-OriginatorOrg: biointelligence.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: YT2PR01MB5983.CANPRD01.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id:
323b7804-cb2e-411f-e2cc-08ddcec0e3a5
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2025 16:56:40.4497
(UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 78387634-97b0-41ad-bbc8-a418ad807e35
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname:
3RwABmFF+keDmnxzewlc5TDOI0Xjvn31ZQDLE7aqDGOgIbTpn4ziYoFfq330AlGS4zIU1Do0xOAKdgY3FaqYcW/51mLfC0BvIfUidJzAaZQ=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT3PR01MB9850
X-Original-Sender: pbergeron@biointelligence.com
X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass
header.i=@biointelligence.com header.s=selector2 header.b=Mq0ftzo3;
arc=pass (i=1 spf=pass spfdomain=biointelligence.com dkim=pass
dkdomain=biointelligence.com dmarc=pass fromdomain=biointelligence.com);
spf=pass (google.com: domain of pbergeron@biointelligence.com
designates 2a01:111:f403:241d::71a as permitted sender)
smtp.mailfrom=pbergeron@biointelligence.com;
dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=biointelligence.com
Precedence: list
Mailing-list: list swupdate@googlegroups.com;
contact swupdate+owners@googlegroups.com
List-ID: <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 |
BUGFIX: Fix write length during IPC socket write.
|
expand
|
On 29.07.25 18:56, Patrick Bergeron wrote: > When writing data to the IPC socket, we noticed if only a partial write > was done, on subsequent iteration, the call to `write` would be given > the wrong number of bytes to write. > This issue has previously been reported here: https://groups.google.com/ > g/swupdate/c/T_ZvZJH1rqE <https://groups.google.com/g/swupdate/c/ > T_ZvZJH1rqE> > > Signed-off-by: Patrick Bergeron <pbergeron@biointelligence.com> > --- > ipc/network_ipc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ipc/network_ipc.c b/ipc/network_ipc.c > index e2fff782..099587d4 100644 > --- a/ipc/network_ipc.c > +++ b/ipc/network_ipc.c > @@ -315,7 +315,7 @@ int ipc_send_data(int connfd, char *buf, int size) > ssize_t len = size; > > while (len) { > - ret = write(connfd, buf, (size_t)size); > + ret = write(connfd, buf, (size_t)len); > if (ret < 0) > return ret; > len -= ret; > -- > 2.34.1 Sure, I will apply it. Best regards, Stefano Babic
diff --git a/ipc/network_ipc.c b/ipc/network_ipc.c index e2fff782..099587d4 100644 --- a/ipc/network_ipc.c +++ b/ipc/network_ipc.c @@ -315,7 +315,7 @@ int ipc_send_data(int connfd, char *buf, int size) ssize_t len = size; while (len) { - ret = write(connfd, buf, (size_t)size); + ret = write(connfd, buf, (size_t)len); if (ret < 0) return ret; len -= ret;
When writing data to the IPC socket, we noticed if only a partial write was done, on subsequent iteration, the call to `write` would be given the wrong number of bytes to write. This issue has previously been reported here: https://groups.google.com/g/swupdate/c/T_ZvZJH1rqE Signed-off-by: Patrick Bergeron <pbergeron@biointelligence.com> --- ipc/network_ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1