OpenSearch/core
Simon Willnauer cb5c25ab4f Add a StreamInput#readArraySize method that ensures sane array sizes (#21697)
Today we read a vint from the stream to allocate the size of an array up-front
before we start reading the values. This can be dangerous if for instance we read
from a corrupted stream or if some manipulated bytes are send for instance from
an attacker or a fuzzer. In most of the cases we can apply some best effort and
validate the array size to be _sane_ by ensuring we can at read at least N bytes
where N is the expected size of the array.
2016-11-21 21:39:21 +01:00
..
licenses Upgrade to lucene-6.3.0. (#21464) 2016-11-14 09:36:45 +01:00
src Add a StreamInput#readArraySize method that ensures sane array sizes (#21697) 2016-11-21 21:39:21 +01:00
build.gradle Update Joda Time to version 2.9.5 (#21468) 2016-11-10 17:32:46 +01:00