search for: get_hint_postlist

Displaying 1 result from an estimated 1 matches for "get_hint_postlist".

2017 Jul 31
2
Segmentation fault in matcher/queryoptimiser
...ase additions, and some of these do not contain positional information. This makes the internal query code reset the AND-context, which in effect frees its postlist. One of the postlist entries is still pointed at by the `hint` field of QueryOptimiser from a previous submatch, and the next call to `get_hint_postlist` in queryoptimiser.h#L106 references the bogus address. A fix to avoid this is simple: just reset the QueryOptimiser hint field when free'ing the context postlist. I've written a one-liner for this here [3]. But I'm not yet convinced that's all there is: could the hint field be use...