On 01/28/10 12:48 PM, [email protected] wrote:
On Thu, Jan 28, 2010 at 09:59:40AM -0800, Danek Duvall wrote:
[email protected] wrote:
http://cr.opensolaris.org/~johansen/webrev-14240/
Does this fix the problem, or just narrow the window of vulnerability?
That is, can the object be destroyed (or close() called) between the time
that self.__started is set to True and the time that the "curl object" is
placed on "this multi-stack" or whatever?
You're right. This is a race. Not a logic error, as I originally
thought. I've changed the synopsis, analysis, and fix for this bug
accordingly. A new, smaller webrev is available here:
http://cr.opensolaris.org/~johansen/webrev-14240-2/
Seems right to me as well. I'm going to assume that if for some bizarre
reason that an exception was raised by remove_request that it's ok that
the lock isn't released.
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss