Fix potential SEGV with corrupt value stats
commit0b6adf01ea876f5d7421a132d8b7ecd4d1901621
authorOlly Betts <olly@survex.com>
Mon, 12 Dec 2016 04:49:26 +0000 (12 17:49 +1300)
committerOlly Betts <olly@survex.com>
Mon, 26 Dec 2016 10:08:58 +0000 (26 23:08 +1300)
treeb6c3d16d1253978239f004627e79346023442d23
parent9b276987aed39528996415e98519dcb7aa463cb3
Fix potential SEGV with corrupt value stats

We should be checking pos == 0, not *pos == 0 here.

(cherry picked from commit 2d738f9989e89e87b4892896141b6d1a83ed99f8)
(cherry picked from commit 8fcd65538812ed7ce755a7a37ab8aba2aa871d63)
xapian-core/backends/brass/brass_values.cc