api/,backends/remote/net_postlist.cc,
commit24c7867693cf5746eab0e1cc50546b3e1bfc8332
authorOlly Betts <olly@survex.com>
Tue, 23 Jun 2015 13:07:09 +0000 (24 01:07 +1200)
committerOlly Betts <olly@survex.com>
Tue, 23 Jun 2015 13:07:09 +0000 (24 01:07 +1200)
treeb67a038f92d07e74f9b1c5f3603604482d7a2589
parentd89390f74e56251ea2e6119c9d90f6fee9b94fe8
api/,backends/remote/net_postlist.cc,
backends/remote/remote-database.cc,
geospatial/latlong_posting_source.cc,net/,tests/unittest.cc: Split
decode_length() into versions which decode a 32 vs 64 bit value,
and which check that there's at least the decoded length in bytes
in the source data.  (Fixes #678 and helps #385)
15 files changed:
xapian-core/ChangeLog
xapian-core/api/decvalwtsource.cc
xapian-core/api/matchspy.cc
xapian-core/api/postingsource.cc
xapian-core/api/queryinternal.cc
xapian-core/api/replication.cc
xapian-core/api/vectortermlist.cc
xapian-core/backends/remote/net_postlist.cc
xapian-core/backends/remote/remote-database.cc
xapian-core/geospatial/latlong_posting_source.cc
xapian-core/net/length.cc
xapian-core/net/length.h
xapian-core/net/remoteserver.cc
xapian-core/net/serialise.cc
xapian-core/tests/unittest.cc