aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-06-01 18:41:16 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-12-31 22:19:12 +0200
commit29afef03486d461c23f57150ac5436684bff7811 (patch)
treef32d23fe20372ec1aaf9affd587181edb3139f08 /configure.ac
parentliblzma: Avoid memcpy(NULL, foo, 0) because it is undefined behavior. (diff)
downloadxz-29afef03486d461c23f57150ac5436684bff7811.tar.xz
tuklib_integer: Improve unaligned memory access.
Now memcpy() or GNU C packed structs for unaligned access instead of type punning. See the comment in this commit for details. Avoiding type punning with unaligned access is needed to silence gcc -fsanitize=undefined. New functions: unaliged_readXXne and unaligned_writeXXne where XX is 16, 32, or 64.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions