severity 509285 serious
tags 509285 + patch
stop
On Sat, Dec 20, 2008, Loïc Minier wrote:
> Moving to the new upstream release 1.1.11 and using make check instead
> of check-TESTS fixes the build for me.
The only code change in harness/event.c is enough to fix the build for
me; attaching a patch and raising severity.
--
Loïc Minier
--- mbr-1.1.10.orig/harness/event.c
+++ mbr-1.1.10/harness/event.c
@@ -35,11 +35,11 @@
q->head = ev->next;
if (q->tail == &(ev->next))
q->tail = &(q->head);
+ ev->next = NULL;
}
#ifdef DEBUG_EVENT
fprintf(stderr, "Removing event %p from queue %p\n", ev, q);
#endif
- ev->next = NULL;
return ev;
}