This fixes an uninitialized read introduced by my fix for the tevent_signal
destructors. From looking at the code you might believe that this kicks in only
when talloc failed. But with -O3 I do see it in normal operations.
Sorry for that.
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Feb 15 17:58:37 CET 2012 on sn-devel-104
struct tevent_signal *se = sl->se;
struct tevent_se_exists *exists;
+ next = sl->next;
+
/*
* We have to be careful to not touch "se"
* after it was deleted in its handler. Thus
talloc_set_destructor(
exists, tevent_se_exists_destructor);
- next = sl->next;
#ifdef SA_SIGINFO
if (se->sa_flags & SA_SIGINFO) {
uint32_t j;