[Pkg-gnupg-commit] [gnupg2] 61/159: scd: Fix commit b30c15bf (again).

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 27 13:23:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit aecf1a3c57ca8bf8050a3743b62fe142ccf9eb22
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Wed Dec 23 16:55:00 2015 +0900

    scd: Fix commit b30c15bf (again).
    
    * g10/keygen.c (do_generate_keypair): Clear the variable S.
    
    --
    
    GnuPG-bug-id: 2201
---
 g10/keygen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/g10/keygen.c b/g10/keygen.c
index 8bb7906..03fc53c 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -4104,6 +4104,7 @@ do_generate_keypair (ctrl_t ctrl, struct para_data_s *para,
   if (!err && get_parameter (para, pSUBKEYTYPE))
     {
       sub_psk = NULL;
+      s = NULL;
       if (!card || (s = get_parameter_value (para, pCARDBACKUPKEY)))
         {
           err = do_create (get_parameter_algo (para, pSUBKEYTYPE, NULL),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list