commit | 1e2ec8a996daec65d8d5a3d43b66a9909c6d0653 | [log] [tgz] |
---|---|---|
author | Rolf Eike Beer <eike@sf-mail.de> | Sun May 13 12:57:31 2018 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sun May 13 13:57:31 2018 +0300 |
tree | df22f6c057afff4a95edf1d2b795fe47e33ec531 | |
parent | 7ec8f28656ea9d84048e9b5655375c6a74a59f53 [diff] |
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