[System.IO.Compression] Fixed potential bug when keeping track of total read bytes...
authorJoao Matos <joao@tritao.eu>
Thu, 27 Oct 2016 19:35:20 +0000 (20:35 +0100)
committerJoao Matos <joao@tritao.eu>
Thu, 27 Oct 2016 21:01:21 +0000 (22:01 +0100)
commitdd0745f42631963648f7372689cbe4805400285f
treed801f882ac4cb29e0e338ec69f0423fe8ba578ff
parent0b94fdf1d36d923a1f1f5c16f3500a1769228f6e
[System.IO.Compression] Fixed potential bug when keeping track of total read bytes of input stream.

This didn't manifest as a bug, to to be on the safe side, replicate the behavior
introduced in https://github.com/mono/mono/commit/b4d5016b5e42fec226d93fd13260b6cac80eb384
and use the same approach when calculating the total of the read bytes of the input stream.
support/zlib-helper.c