[Pkg-samba-maint] DO NOT REPLY [Bug 6651] smbd SIGSEGV when breaking oplocks

samba-bugs at samba.org samba-bugs at samba.org
Fri Aug 21 20:25:46 UTC 2009


https://bugzilla.samba.org/show_bug.cgi?id=6651





------- Comment #8 from jra at samba.org  2009-08-21 15:25 CST -------
That's an excellent point and a case I didn't consider (incoming signals whilst
within tevent_common_check_signal(). I'll take another look at your patch, but
I don't think your changes to sig_count() are correct, they don't take into
account the wrapping at the 32-bit boundary (that's why I rejected it
initially).

So you're correctl unless we block signals whilst calling
tevent_common_check_signal() then sig_state->sig_info[signum][] must act as a
ring buffer. I think a combination of the two patches may be correct....

Updated patch to follow.

Jeremy.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



More information about the Pkg-samba-maint mailing list