summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io
diff options
context:
space:
mode:
authorShane Kearns <ext-shane.2.kearns@nokia.com>2012-05-21 10:54:37 +0100
committerQt by Nokia <qt-info@nokia.com>2012-05-21 16:03:41 +0200
commit63e996200268599522db97d9a0ef37f43d5ca506 (patch)
treed087fd6341ca629af5dac206fc946b4b07d5566b /tests/auto/corelib/io
parent22ef455c6dc7c7f5e9447a82095abd9c4b380656 (diff)
Prevent infinite loops by handling all ZLIB errors
In case the HTTP server returns more data after the end of the compressed data stream, inflate will return Z_STREAM_END, which is a normal informative error code. This was handled in 4.8, but lost in 5.0. Also catch all ZLIB negative error codes rather than only three. Task-number: QTBUG-25823 Change-Id: Ibdbbd3dd6fa81a0880c477cb080ad35f2d7116f0 Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io')
0 files changed, 0 insertions, 0 deletions