Problem in tevent_signal

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Jan 28 14:32:47 MST 2012


On Sat, Jan 28, 2012 at 04:29:53PM -0500, simo wrote:
> I way to handle it is obvioulsy to copy se->sa_flags on the stack, and
> secondly to add a destructor before calling se->handler();
> The destructor would use another pointer on the stack to set a spy.
> If that spy is set then the se has already been freed and nothing needs
> to be done, otherwise it is safe to talloc_free().

The fix I posted is almost what you propose I think.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list