]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix on that last fix.
authorNick Mathewson <nickm@torproject.org>
Thu, 25 Sep 2014 21:59:10 +0000 (17:59 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 25 Sep 2014 21:59:10 +0000 (17:59 -0400)
src/common/crypto_curve25519.c

index dcb1e95208055712b11d5130be00dd74066d5241..8b8e560c8948f8483341e09c375f3ec34ff8c9cd 100644 (file)
@@ -181,7 +181,7 @@ crypto_read_tagged_contents_from_file(const char *fname,
   char *content = NULL;
   struct stat st;
   ssize_t r = -1;
-  size_t st_size;
+  size_t st_size = 0;
 
   *tag_out = NULL;
   st.st_size = 0;