SIGN IN SIGN UP

[3.11] gh-104432: Use `memcpy()` to avoid misaligned loads (GH-104433) (#107356)

gh-104432: Use `memcpy()` to avoid misaligned loads (GH-104433)

Fix potential unaligned memory access on C APIs involving returned sequences
of `char *` pointers within the :mod:`grp` and :mod:`socket` modules. These
were revealed using a ``-fsaniziter=alignment`` build on ARM macOS.
(cherry picked from commit f01e4cedba1a17d321664834bb255d9d04ad16ce)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
M
Miss Islington (bot) committed
c7d9976094e5a16140b5279b1197678529121516
Parent: 50d2613
Committed by GitHub <noreply@github.com> on 7/28/2023, 6:36:45 AM