Pārlūkot izejas kodu

Workaround for warning in desc_encode_v3().

Fixes bug 20581.
Nick Mathewson 7 gadi atpakaļ
vecāks
revīzija
0b787b1daf
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/or/hs_descriptor.c

+ 1 - 1
src/or/hs_descriptor.c

@@ -784,7 +784,7 @@ desc_encode_v3(const hs_descriptor_t *desc, char **encoded_out)
 
   /* Build the encrypted data section. */
   {
-    char *enc_b64_blob;
+    char *enc_b64_blob=NULL;
     if (encode_encrypted_data(desc, &enc_b64_blob) < 0) {
       goto err;
     }