diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-07-27 20:52:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 20:52:39 (GMT) |
commit | 5daf19d763826a977a596b6fbc035ee03c0deafc (patch) | |
tree | b76616d7e6f31895c49be68cb3ace056803b7e0c /Modules/_tkinter.c | |
parent | c580527d9230212e8f8d697a18b86120109aa653 (diff) | |
download | cpython-5daf19d763826a977a596b6fbc035ee03c0deafc.zip cpython-5daf19d763826a977a596b6fbc035ee03c0deafc.tar.gz cpython-5daf19d763826a977a596b6fbc035ee03c0deafc.tar.bz2 |
[3.12] gh-104432: Use `memcpy()` to avoid misaligned loads (GH-104433) (#107355)
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>
Diffstat (limited to 'Modules/_tkinter.c')
0 files changed, 0 insertions, 0 deletions