[Xapian-tickets] [Xapian] #803: Snippet generator crashes on empty query

Xapian nobody at xapian.org
Wed Apr 8 01:49:03 BST 2020


#803: Snippet generator crashes on empty query
-----------------------------+-------------------------------
 Reporter:  Robert Stepanek  |             Owner:  Olly Betts
     Type:  defect           |            Status:  assigned
 Priority:  normal           |         Milestone:
Component:  Other            |           Version:
 Severity:  normal           |        Resolution:
 Keywords:                   |        Blocked By:
 Blocking:                   |  Operating System:  All
-----------------------------+-------------------------------
Changes (by Olly Betts):

 * status:  new => assigned

Comment:

 ubsan says:

 {{{
 queryparser/termgenerator_internal.cc:837:26: runtime error: member access
 within null pointer of type 'const Xapian::Enquire::Internal'
 }}}

 So looks like the `MSet` ends up with a `NULL` Enquire object internal in
 this situation.  Should be an easy fix.

 Did you test 1.4.x?
-- 
Ticket URL: <https://trac.xapian.org/ticket/803#comment:1>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list