Fix potential SEGV with corrupt value stats
commit2d738f9989e89e87b4892896141b6d1a83ed99f8
authorOlly Betts <olly@survex.com>
Mon, 12 Dec 2016 04:49:26 +0000 (12 17:49 +1300)
committerOlly Betts <olly@survex.com>
Mon, 12 Dec 2016 04:49:26 +0000 (12 17:49 +1300)
tree1ad17e74be6d7864f46e9c0032f86bccf768b639
parent3bd73588f1a997366a5345a6f876a9cfdb3e30a3
Fix potential SEGV with corrupt value stats

We should be checking pos == 0, not *pos == 0 here.
xapian-core/backends/glass/glass_values.cc