[Pidgin] #6834: dnsquery.c contains a race condition when waiting for the DNS child process handshake

Pidgin trac at pidgin.im
Tue Sep 16 14:32:35 EDT 2008


#6834: dnsquery.c contains a race condition when waiting for the DNS child process
handshake
------------------------+---------------------------------------------------
 Reporter:  fledermaus  |        Owner:  MarkDoliner
     Type:  defect      |       Status:  new        
Milestone:              |    Component:  libpurple  
  Version:  2.4.1       |   Resolution:             
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by MarkDoliner):

  * owner:  markdoliner => MarkDoliner


Comment:

 Ok, the "Y" change wasn't needed but I added back the call to select(),
 which was needed so that our DNS children expire after a fixed amount of
 time.  I had experienced the race condition before all these changes, and
 I know it didn't happen after I removed the 'Y' code and the select()
 code.  I don't know whether it will happen again now that the select()
 code is back in there.  I'll test it soon... for some reason "mtn pull"
 isn't grabbing the change that I just made.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/6834#comment:4>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list