diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2007-12-16 17:22:00 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2007-12-16 17:22:00 +0000 |
commit | 19523d5dae255462d98b25fe00fe8de12e9550ad (patch) | |
tree | 87fb02bf496701e8cd698ee01e3c90821be3849c /ext/bz2/bz2_filter.c | |
parent | ec90d483313a4db5ef880d163a45e130c96bffea (diff) | |
download | php-git-19523d5dae255462d98b25fe00fe8de12e9550ad.tar.gz |
MFB: Fixed bug #43589 (a possible infinite loop in bz2_filter.c)
Diffstat (limited to 'ext/bz2/bz2_filter.c')
-rw-r--r-- | ext/bz2/bz2_filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bz2/bz2_filter.c b/ext/bz2/bz2_filter.c index 2e642b3bf8..0536fd2de2 100644 --- a/ext/bz2/bz2_filter.c +++ b/ext/bz2/bz2_filter.c @@ -132,6 +132,8 @@ static php_stream_filter_status_t php_bz2_decompress_filter( data->strm.avail_out = data->outbuf_len; data->strm.next_out = data->outbuf; exit_status = PSFS_PASS_ON; + } else if (status == BZ_OK) { + break; } } } |