diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2018-05-13 10:57:31 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-05-13 10:57:31 (GMT) |
commit | 1e2ec8a996daec65d8d5a3d43b66a9909c6d0653 (patch) | |
tree | df22f6c057afff4a95edf1d2b795fe47e33ec531 /Include/objimpl.h | |
parent | 7ec8f28656ea9d84048e9b5655375c6a74a59f53 (diff) | |
download | cpython-1e2ec8a996daec65d8d5a3d43b66a9909c6d0653.zip cpython-1e2ec8a996daec65d8d5a3d43b66a9909c6d0653.tar.gz cpython-1e2ec8a996daec65d8d5a3d43b66a9909c6d0653.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
Diffstat (limited to 'Include/objimpl.h')
0 files changed, 0 insertions, 0 deletions