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:14:24 +0000 (20:14 +0200)
commitd03ffeaf45da6541875bff05b3f79d8dba355c97
treeac35aaa2f7db75b06bbce9c54623fa6abdc644cc
parentefdfc392aac6d56fe385223cd26687fa26ca9af3
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/11781)
13 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/modes_local.h
crypto/modes/ofb128.c
crypto/modes/xts128.c
crypto/whrlpool/wp_block.c