diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-05-13 11:40:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-13 11:40:03 (GMT) |
commit | 0d17e60b33aca1a4d151a8a2bd6eaa331f0ec658 (patch) | |
tree | 1f5f05ed93b25abca890d8718d52ee0e935e3057 /Python/dynload_hpux.c | |
parent | 308dbe03887a60a192860bc533af15e7520169a6 (diff) | |
download | cpython-0d17e60b33aca1a4d151a8a2bd6eaa331f0ec658.zip cpython-0d17e60b33aca1a4d151a8a2bd6eaa331f0ec658.tar.gz cpython-0d17e60b33aca1a4d151a8a2bd6eaa331f0ec658.tar.bz2 |
bpo-28055: Fix unaligned accesses in siphash24(). (GH-6123)
The hash implementation casts the input pointer to uint64_t* and directly reads
from this, which may cause unaligned accesses. Use memcpy() instead so this code
will not crash with SIGBUS on sparc.
https://bugs.gentoo.org/show_bug.cgi?id=636400
(cherry picked from commit 1e2ec8a996daec65d8d5a3d43b66a9909c6d0653)
Co-authored-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'Python/dynload_hpux.c')
0 files changed, 0 insertions, 0 deletions