commit | d92383102740bd143c5221a519433e64c4c9c498 | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Mon Oct 09 14:18:10 2000 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Mon Oct 09 14:18:10 2000 +0000 |
tree | 1c70fa7a67307d3c98e9e50c4fcd6f175f8f0a20 | |
parent | 46735add5fd292d1c0141aefa23f92814b15cac3 [diff] |
Patch #101810: check whether zst.avail_out is non-zero when getting a Z_BUF_ERROR while decompressing. If it is, assume that this means the data being decompressed is bad and raise an exception, instead of just assuming that Z_BUF_ERROR always means that more space is required.