readStream: check for index validity.

9 jobs for mh_optimization in 3 minutes and 40 seconds (queued for 3 seconds)
latest
Status Name Job ID Coverage
  Test
passed clang-c++11 #133395
Linux

00:03:07

passed cppcheck #133397
Linux

00:00:47

passed doc #133402
Linux

00:00:06

passed gcc-c++11 #133394
Linux

00:03:40

passed macos-c++11 #133396
Apple

00:03:27

passed VS2015-32-bit #133401
VS2015

00:01:25

passed VS2015-64-bit #133400
VS2015

00:01:38

passed VS2017-32-bit #133399
VS2017

00:01:15

passed VS2017-64-bit #133398
VS2015

00:01:37