Avoid undefined behavior with unaligned accesses
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 24 Apr 2018 19:10:13 +0000 (21:10 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 27 May 2020 18:11:20 +0000 (20:11 +0200)
commit77286fe3ec6b9777934e67e35f3b7007143b0734
tree47f39fa07cd9979b57ad14f58bc39123133da115
parentc74aaa3920f116fe4c1003153838144c37d6e527
Avoid undefined behavior with unaligned accesses

Fixes: #4983
[extended tests]

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/6074)
12 files changed:
.travis.yml
crypto/aes/aes_ige.c
crypto/ec/ecp_nistp224.c
crypto/ec/ecp_nistp521.c
crypto/modes/cbc128.c
crypto/modes/ccm128.c
crypto/modes/cfb128.c
crypto/modes/ctr128.c
crypto/modes/gcm128.c
crypto/modes/ofb128.c
crypto/modes/xts128.c
crypto/whrlpool/wp_block.c