[Xapian-tickets] [Xapian] #299: ValueWeightPostingSource infinite loops if docid 0xffffffff is used

Xapian nobody at xapian.org
Wed Oct 8 06:07:36 BST 2008


#299: ValueWeightPostingSource infinite loops if docid 0xffffffff is used
-------------------------+--------------------------------------------------
 Reporter:  olly         |       Owner:  olly    
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  1.1.0   
Component:  Library API  |     Version:  SVN HEAD
 Severity:  normal       |   Blockedby:          
 Platform:  All          |    Blocking:          
-------------------------+--------------------------------------------------
 The implementation assumes that last_docid + 1 > last_docid, which goes
 wrong if last_docid has its maximum value.

 Attached patch adds a test which never completes because of this.

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



More information about the Xapian-tickets mailing list