diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-09-06 09:01:31 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-09-06 11:00:00 +0200 |
commit | 6512391a30f6b158488e941214541e84473b6bf9 (patch) | |
tree | e9b559bdd5c9ef52136334c54f38c6c45e7d51d7 /CREDITS | |
parent | e68f1d4ca99e08652066f40d7778b6007f0149d9 (diff) | |
download | linux-stable-6512391a30f6b158488e941214541e84473b6bf9.tar.gz linux-stable-6512391a30f6b158488e941214541e84473b6bf9.tar.bz2 linux-stable-6512391a30f6b158488e941214541e84473b6bf9.zip |
s390/crypto: avoid returning garbage value
Static analysis with cppcheck detected that ret is not initialized
and hence garbage is potentially being returned in the case where
prng_data->ppnows.reseed_counter <= prng_reseed_limit.
Thanks to Martin Schwidefsky for spotting a mistake in my original
fix.
Fixes: 0177db01adf26cf9 ("s390/crypto: simplify return code handling")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions