uninitialized variable
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>
Sun, 24 Jun 2018 21:04:51 +0000 (23:04 +0200)
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>
Sun, 24 Jun 2018 21:04:51 +0000 (23:04 +0200)
src/gns/gnunet-service-gns_interceptor.c

index ecf4d59f502bb593312157896801bc0f7ec17b6d..42f3e1514d3012e0c6cb0801a5cc316297178cc4 100644 (file)
@@ -103,7 +103,7 @@ reply_to_dns (void *cls, uint32_t rd_count,
   unsigned int num_answers;
   unsigned int skip_answers;
   unsigned int skip_additional;
-  size_t off;
+  size_t off = 0;
 
   /* Put records in the DNS packet */
   num_answers = 0;