[Xapian-tickets] [Xapian] #408: Fix off-by-one use of invalid fd in FlintLock::lock

Xapian nobody at xapian.org
Mon Oct 26 20:41:48 GMT 2009


#408: Fix off-by-one use of invalid fd in FlintLock::lock
--------------------+-------------------------------------------------------
 Reporter:  cworth  |       Owner:  olly
     Type:  defect  |      Status:  new 
 Priority:  normal  |   Milestone:      
Component:  Other   |     Version:      
 Severity:  normal  |   Blockedby:      
 Platform:  All     |    Blocking:      
--------------------+-------------------------------------------------------
 This is likely totally harmless, but it was at least making the
 following warning be emitted by valgrind:

 ==13151== Warning: invalid file descriptor 1014 in syscall close()

 I'll attach a patch that makes that warning go away.

 -Carl

-- 
Ticket URL: <http://trac.xapian.org/ticket/408>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list