From: Nick Mathewson Date: Mon, 7 Nov 2016 01:27:14 +0000 (-0500) Subject: Workaround for warning in desc_encode_v3(). X-Git-Tag: tor-0.3.0.1-alpha~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b787b1daf68a7da44a5465e4b7afca417761449;p=thirdparty%2Ftor.git Workaround for warning in desc_encode_v3(). Fixes bug 20581. --- diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c index 7c5d204ef3..96db936735 100644 --- a/src/or/hs_descriptor.c +++ b/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; }