--- ./dirmngr/http.c_org	2023-07-25 02:38:40.347446407 +0000
+++ ./dirmngr/http.c	2023-07-25 02:40:02.721537463 +0000
@@ -3782,7 +3782,6 @@
         {
           err = gpg_error_from_syserror ();
           http_release_parsed_uri (origuri);
-          http_release_parsed_uri (locuri);
           return err;
         }
       /* Build new URL from
--- ./g10/card-util.c_org	2023-07-25 02:41:03.653927937 +0000
+++ ./g10/card-util.c	2023-07-25 02:42:16.867753922 +0000
@@ -729,7 +729,7 @@
 {
   int err;
   strlist_t card_list, sl;
-  char *serialno0 = NULL;
+  char *serialno0, *serialno1 = NULL;
   int all_cards = 0;
   int any_card = 0;
 
@@ -773,6 +773,7 @@
         }
 
       current_card_status (ctrl, fp, NULL, 0);
+      serialno1 = NULL;
 
       if (!all_cards)
         goto leave;
--- ./g10/keygen.c_org	2023-07-25 02:43:07.889166415 +0000
+++ ./g10/keygen.c	2023-07-25 02:47:13.446205564 +0000
@@ -3269,7 +3269,7 @@
   char *endp;
   const char *curve = NULL;
   int ecdh_or_ecdsa = 0;
-  unsigned int size;
+  unsigned int size = 0;
   int keyuse;
   int keyversion = 0;           /* Not specified.  */
   int i;
