Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37892228
en ru br
Репозитории ALT
S:0.11.5-alt2
5.1: 0.8.1-alt1.M51.1
www.altlinux.org/Changes

Группа :: Коммуникации
Пакет: gnunet

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: gnunet-fix-pointer.patch
Скачать


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);
 }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin