Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1394814

Re: [PATCH] random: properly align get_random_int_hash

From Theodore Ts'o <tytso@mit.edu>
Newsgroups linux.kernel
Subject Re: [PATCH] random: properly align get_random_int_hash
Date 2016-05-05 03:10 +0200
Message-ID <rvfXH-6D2-3@gated-at.bofh.it> (permalink)
References <riVUK-5b3-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 31, 2016 at 08:11:25PM -0500, Eric Biggers wrote:
> get_random_long() reads from the get_random_int_hash array using an
> unsigned long pointer.  For this code to be guaranteed correct on all
> architectures, the array must be aligned to an unsigned long boundary.
> 
> Signed-off-by: Eric Biggers <ebiggers3@gmail.com>

Thanks, applied.

					- Ted

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] random: properly align get_random_int_hash Theodore Ts'o <tytso@mit.edu> - 2016-05-05 03:10 +0200

csiph-web