summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2018-09-08 18:27:57 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-09-08 19:01:36 +0200
commit90d863898cd4d7a1e073916b4730aca33cc29184 (patch)
treed73e8f2f4299ed8a72be3d676d8cca911f78691e /ext/pcre/php_pcre.c
parent28c6125053fa1b13bc88644f0e576ad620e1f0fb (diff)
downloadphp-git-90d863898cd4d7a1e073916b4730aca33cc29184.tar.gz
Fix #75273: php_zlib_inflate_filter() may not update bytes_consumed
Whenever we return with `PSFS_PASS_ON`, we need to update `bytes_consumed` to not mislead the caller. Instead of fixing the respective `if` clauses, we eschew the early bail-outs to simplify the code a bit.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions