* Re: [PATCH] pcapng: avoid potential unaligned data
[not found] <20241120230635.217981-1-stephen@networkplumber.org>
@ 2024-11-26 19:22 ` Thomas Monjalon
0 siblings, 0 replies; only message in thread
From: Thomas Monjalon @ 2024-11-26 19:22 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: dev, stable
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 <stephen@networkplumber.org>
Fixes: dc2d6d20047e ("pcapng: avoid using alloca")
Cc: stable@dpdk.org
Applied, thanks.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-26 19:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20241120230635.217981-1-stephen@networkplumber.org>
2024-11-26 19:22 ` [PATCH] pcapng: avoid potential unaligned data Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).