diff options
Diffstat (limited to 'dev-lang/python/files/python-3.5.5-hash-unaligned.patch')
-rw-r--r-- | dev-lang/python/files/python-3.5.5-hash-unaligned.patch | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/python/files/python-3.5.5-hash-unaligned.patch b/dev-lang/python/files/python-3.5.5-hash-unaligned.patch index c418f40..7861bfb 100644 --- a/dev-lang/python/files/python-3.5.5-hash-unaligned.patch +++ b/dev-lang/python/files/python-3.5.5-hash-unaligned.patch @@ -1,3 +1,8 @@ +From 0d17e60b33aca1a4d151a8a2bd6eaa331f0ec658 Mon Sep 17 00:00:00 2001 +From: Rolf Eike Beer <eike@sf-mail.de> +Date: Sun, 13 May 2018 04:40:03 -0700 +Subject: [PATCH] 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. |