From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0258745DAD; Tue, 26 Nov 2024 20:22:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3948E4275C; Tue, 26 Nov 2024 20:22:47 +0100 (CET) Received: from fhigh-b1-smtp.messagingengine.com (fhigh-b1-smtp.messagingengine.com [202.12.124.152]) by mails.dpdk.org (Postfix) with ESMTP id 26B794026C; Tue, 26 Nov 2024 20:22:45 +0100 (CET) Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id 62F8A254009B; Tue, 26 Nov 2024 14:22:44 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Tue, 26 Nov 2024 14:22:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1732648964; x=1732735364; bh=kgz0ks7kOA2ljBGOQ4pmEcB6kDnFZfJY0eU9eEqYoKc=; b= P4U9dLN0dSkVuF8LcGiTH+ZPJcL6jhCcC2wBzn6Q2y4MhZyfJtasPDa6ONK/vIfZ wX/pgz+s20R/PmWSByk9Te6iFq4uZnA4yMl0FWireykoCB6QW1dG9veEcDycPwgN QKPryf+pJFFOLYgHBXjsakPUvmBN94rYUC+8sXk8jOv5B3wl1TJB7jJOaftv+MT5 JnxbzGoK95IcDPMz4xsoQB/NmlN6t0IrUriIEor/i2mIz/ZM4nO+p/pLqQIipiml GmbP6GAbQEQOoBKw2LAxSKx77QmGjy4CF/qLBE6adk5q3AU3HAJ4ENS5oWlI6IY+ E9uT4wE9U8w4ZRHePoAmjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1732648964; x= 1732735364; bh=kgz0ks7kOA2ljBGOQ4pmEcB6kDnFZfJY0eU9eEqYoKc=; b=N Ddh/fDmjsSHszibqtHS2onMmkGNLKszSku/a33ITZP06gOIVHh9EE0LxCkhnQtw+ RhhZ1rGYa+ckYAykWHMDnWxRs0O03480vGciFlAJyHrWAQ+Bm+pByVdOLCFTACxb Bs7c++Tj61Sdg5iv0tbs19Av0on8eMVJzPjpqJWJ4zz4lRi1g3H40dgo750EsD0v FwQX68CX4Tvo0l9Z/cXXkVHxzlY+cxr2/f2uNvO0r/XYoKDuA9TVus31wJlr5SlU zXuKt8JfDL48lnEAFsWH3lRTBkYyiMhrSwYPyz2z6vtSMDMyJLhVH9A+6twI5OlY 7spdD/6mSnQnPQ82Imnsw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeejgdduvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkjghfggfgtgesthfuredttddtjeen ucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrg hlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpeejudevheeiveduuddtveffgfdtgeek ueevjeffjeegtdeggeekgfdvuefgfeekjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtpdhn sggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehsthgvph hhvghnsehnvghtfihorhhkphhluhhmsggvrhdrohhrghdprhgtphhtthhopeguvghvsegu phgukhdrohhrghdprhgtphhtthhopehsthgrsghlvgesughpughkrdhorhhg X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Nov 2024 14:22:43 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, stable@dpdk.org Subject: Re: [PATCH] pcapng: avoid potential unaligned data Date: Tue, 26 Nov 2024 20:22:42 +0100 Message-ID: <26109218.6Emhk5qWAg@thomas> In-Reply-To: <20241120230635.217981-1-stephen@networkplumber.org> References: <20241120230635.217981-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 21/11/2024 00:06, Stephen Hemminger: > The buffer used to construct headers (which contain 32 bit values) > was declared as uint8_t which can lead to unaligned access. > Change to declare buffer as uint32_t. > > Signed-off-by: Stephen Hemminger Fixes: dc2d6d20047e ("pcapng: avoid using alloca") Cc: stable@dpdk.org Applied, thanks.