From: Jan Glauber Date: Wed, 20 Apr 2011 08:15:31 +0000 (+0200) Subject: [S390] prng: prevent access beyond end of stack X-Git-Tag: v2.6.39-rc5~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c708c57e247775928b9a6bce7b4d8d14883bf39b;p=pandora-kernel.git [S390] prng: prevent access beyond end of stack While initializing the state of the prng only the first 8 bytes of random data where used, the second 8 bytes were read from the memory after the stack. If only 64 bytes of the kernel stack are used and CONFIG_DEBUG_PAGEALLOC is enabled a kernel panic may occur because of the invalid page access. Use the correct multiplicator to stay within the random data buffer. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed