for cov
authorChristian Grothoff <christian@grothoff.org>
Thu, 22 Apr 2010 09:15:55 +0000 (09:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 22 Apr 2010 09:15:55 +0000 (09:15 +0000)
src/core/gnunet-service-core.c

index e5a0db5eccf1e28965c9fcf336ae4622eed3828d..5f858e5967ae2668c5ac583d43ad1d1b8fc892c7 100644 (file)
@@ -2774,6 +2774,8 @@ handle_pong (struct Neighbour *n,
               "Core service receives `%s' request from `%4s'.\n",
               "PONG", GNUNET_i2s (&n->peer));
 #endif
+  /* mark as garbage, just to be sure */
+  memset (&t, 255, sizeof (t));
   if (GNUNET_OK !=
       do_decrypt (n,
                   &n->peer.hashPubKey,