Группа :: Система/Серверы
Пакет: miredo
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: miredo-1.2.6-alt-fix_memset_typo.patch
Скачать
Скачать
Fix typo in memset call
--- ./libteredo/peerlist.c
+++ ./libteredo/peerlist.c
@@ -288,7 +288,7 @@ teredo_peerlist *teredo_list_create (unsigned max, unsigned expiration)
if (l == NULL)
return NULL;
- memset (l, 0, sizeof (l));
+ memset (l, 0, sizeof (*l));
pthread_mutex_init (&l->lock, NULL);
l->recent = l->old = NULL;
l->left = max;