chiark / gitweb /
basic: getauxval(AT_RANDOM) is apparently not necessarily aligned
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2016 16:00:38 +0000 (17:00 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:15 +0000 (15:22 +0200)
commit9e830df83c27d0d757df16904ec23b3844da2733
tree0a676ea98f933ec5b186f92194ab57aa00ad1ead
parent03ecdfcc404d4066dfae119d3ce27266fc0bfa88
basic: getauxval(AT_RANDOM) is apparently not necessarily aligned

Let's make sure we read it in a way compatible with non-aligned memory.

Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812928
src/basic/random-util.c