Group :: System/Servers
RPM: miredo
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: miredo-1.2.6-alt-fix_memset_typo.patch
Download
Download
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;