Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37861523
en ru br
ALT Linux repositórios
S:0.11.5-alt2

Group :: Comunicações
RPM: gnunet

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: gnunet-fix-pointer.patch
Download


diff --git a/GNUnet/src/applications/identity/identity.c b/GNUnet/src/applications/identity/identity.c
index 063c463..6d3cf65 100644
--- a/GNUnet/src/applications/identity/identity.c
+++ b/GNUnet/src/applications/identity/identity.c
@@ -423,7 +423,7 @@ getPeerIdentity (const GNUNET_RSA_PublicKey * pubKey,
                  GNUNET_PeerIdentity * result)
 {
   if (pubKey == NULL)
-    memset (&result, 0, sizeof (GNUNET_PeerIdentity));
+    memset (result, 0, sizeof (GNUNET_PeerIdentity));
   else
     GNUNET_hash (pubKey, sizeof (GNUNET_RSA_PublicKey), &result->hashPubKey);
 }
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009