[chert] Fix potential SEGV with corrupt value stats
commit6220753e95f7f827576a725fc531e8591bde963e
authorOlly Betts <olly@survex.com>
Wed, 14 Dec 2016 02:13:50 +0000 (14 15:13 +1300)
committerOlly Betts <olly@survex.com>
Wed, 14 Dec 2016 02:13:50 +0000 (14 15:13 +1300)
treed0dbea3b605f68033aa97e236809844d1c4156c2
parent8fcd65538812ed7ce755a7a37ab8aba2aa871d63
[chert] Fix potential SEGV with corrupt value stats

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

Chert version of what was fixed in 8fcd65538812ed7ce755a7a37ab8aba2aa871d63
for glass.
xapian-core/backends/chert/chert_values.cc