We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e260082 commit 33489caCopy full SHA for 33489ca
ext/mbstring/libmbfl/mbfl/mbfilter.c
@@ -1280,9 +1280,9 @@ mbfl_strcut(
1280
1281
position = device.pos;
1282
(*encoder->filter_flush)(encoder);
1283
- illegal_substchar = (unsigned char) encoder->illegal_substchar;
1284
1285
if ((encoder->status && ((encoder->status & 0xF) || (encoder->status == 0x11))) || encoder->cache) {
+ illegal_substchar = (unsigned char) encoder->illegal_substchar;
1286
while(device.pos > position) {
1287
/* check illegal output */
1288
if (device.buffer[position++] == illegal_substchar) {
0 commit comments