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

Pidgin trac at pidgin.im
Tue Sep 23 11:02:19 EDT 2008


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

Comment(by fledermaus):

 {{{
         if (rc < sizeof(dns_params)) {
                 purple_debug_error("dns", "Tried to read %"
 G_GSSIZE_FORMAT
 }}}

 I'm pretty sure that's where you write to the child.
 Otherwise, testing this code: No races experienced so far.

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


More information about the Tracker mailing list