]> granicus.if.org Git - php/commit
Don't redundantly flush mbstring filters multiple times
authorAlex Dowad <alexinbeijing@gmail.com>
Mon, 9 Nov 2020 19:33:32 +0000 (21:33 +0200)
committerAlex Dowad <alexinbeijing@gmail.com>
Wed, 11 Nov 2020 09:18:58 +0000 (11:18 +0200)
commitb05ad5112aea1d2f60bc955e3472e0339c7e6a38
tree2ff96dc854eb35b17fbfb20ec8b1334421258cf6
parentd1d50c2b7acc7e48331c46bf9ed2c3817ccd110a
Don't redundantly flush mbstring filters multiple times

Each flush function in a chain of mbstring conversion filters always
calls the next flush function in the chain. So it is not necessary to
explicitly flush the second filter in a chain. (Due to this bug, in many
cases, flush functions were actually being called three times.)
ext/mbstring/libmbfl/mbfl/mbfilter.c
ext/mbstring/libmbfl/mbfl/mbfl_convert.c