[git] GCRYPT - branch, LIBGCRYPT-1.8-BRANCH, updated. libgcrypt-1.8.4-5-g35e002d

by Werner Koch cvs at cvs.gnupg.org
Wed Nov 14 14:18:22 CET 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, LIBGCRYPT-1.8-BRANCH has been updated
       via  35e002d4b842f25e3fcb6036c21bdafc5214317e (commit)
      from  4141caabe76ad092f3487b4516ee481fba837adb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 35e002d4b842f25e3fcb6036c21bdafc5214317e
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Nov 14 14:14:23 2018 +0100

    random: Initialize variable as requested by valgrind
    
    random/jitterentropy-base.c: Init.
    --
    
    The variable ec does not need initialization for proper functioning of
    the analyzer code. However, valgrind complains about the uninitialized
    variable. Thus, initialize it.
    
    Original-repo: https://github.com/smuellerDD/jitterentropy-library.git
    Original-commit: 9048af7f06fc1488904f54852e0a2f8da45a4745
    Original-Author:: Stephan Mueller <smueller at chronox.de>
    Original-Date: Sun, 15 Jul 2018 19:14:02 +0200
    Reported-by: Steve Grubb <sgrubb at redhat.com>
    Signed-off-by: Werner Koch <wk at gnupg.org>
    (cherry picked from commit aa686dfc9b563ff79c01d2f8560b88f69c42ecba)
    GnuPG-bug-id: 4250

diff --git a/random/jitterentropy-base.c b/random/jitterentropy-base.c
index dc907b2..32fdea4 100644
--- a/random/jitterentropy-base.c
+++ b/random/jitterentropy-base.c
@@ -642,6 +642,8 @@ int jent_entropy_init(void)
 	int count_stuck = 0;
 	struct rand_data ec;
 
+	memset(&ec, 0, sizeof(ec));
+
 	/* We could perform statistical tests here, but the problem is
 	 * that we only have a few loop counts to do testing. These
 	 * loop counts may show some slight skew and we produce

-----------------------------------------------------------------------

Summary of changes:
 random/jitterentropy-base.c | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list