[PATCH] pcapng: avoid potential unaligned data
Thomas Monjalon
thomas at monjalon.net
Tue Nov 26 20:22:42 CET 2024
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 at networkplumber.org>
Fixes: dc2d6d20047e ("pcapng: avoid using alloca")
Cc: stable at dpdk.org
Applied, thanks.
More information about the stable
mailing list