OpenSearch/modules
Tim Brooks a3ade99fcf Fix BytesReferenceStreamInput#skip with offset (#25634)
There is a bug when a call to `BytesReferenceStreamInput` skip is made
on a `BytesReference` that has an initial offset. The offset for the
current slice is added to the current index and then subtracted from the
length. This introduces the possibility of a negative number of bytes to
skip. This happens inside a loop, which leads to an infinte loop.

This commit correctly subtracts the current slice index from the
slice.length. Additionally, the `BytesArrayTests` are modified to test
instances that include an offset.
2017-07-11 09:54:29 -05:00
..
aggs-matrix-stats Remove QueryParseContext (#25486) 2017-07-03 17:30:40 +02:00
analysis-common Move more token filters to analysis-common module 2017-07-07 10:02:52 +02:00
ingest-common fix sort and string processor tests around targetField (#25358) 2017-06-22 13:14:18 -07:00
lang-expression Upgrade to lucene-7.0.0-snapshot-00142c9. (#25641) 2017-07-11 13:58:55 +02:00
lang-mustache Remove QueryParseContext (#25486) 2017-07-03 17:30:40 +02:00
lang-painless Update Painless to Allow Augmentation from Any Class (#25360) 2017-06-22 12:16:46 -07:00
parent-join Index ids in binary form. (#25352) 2017-07-07 14:22:47 +02:00
percolator Bump version to 6.0.0-beta1 2017-07-09 18:12:50 -04:00
reindex Adds check for negative search request size (#25397) 2017-07-04 10:51:38 +01:00
repository-url Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
transport-netty4 Fix BytesReferenceStreamInput#skip with offset (#25634) 2017-07-11 09:54:29 -05:00
build.gradle Build: Change `gradle run` to use zip distribution (#21001) 2016-10-18 11:48:58 -07:00