Test: /ext/iconv/tests/bug76249.phpt - Version 7.3.9        

Security #76249 stream filter convert.iconv leads to infinite loop on invalid sequence
Submitted: 2018-04-22 15:18:35 Modified: 2018-04-29 20:47:46
From: p.mehrer Assigned: stas
Status: Closed Package: Streams related
PHP Version: 7.0.29 OS: ubuntu/xenial x64

There are 5 different diffs reported by users for this test.

Count Diff
12 (48%)
001+
001- Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf%A8//IGNORE"): invalid multibyte sequence in %sbug76249.php on line %d
002- int(3)
003- DONE
9 (36%)
001+ Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf-8//IGNORE"): unknown error in %s/bug76249.php on line 8
002+ int(0)
001- Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf%A8//IGNORE"): invalid multibyte sequence in %sbug76249.php on line %d
002- int(3)
2 (8%)
001+ Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf8//IGNORE"): unknown error in %s/bug76249.php on line 8
002+ int(0)
001- Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf%A8//IGNORE"): invalid multibyte sequence in %sbug76249.php on line %d
002- int(3)
1 (4%)
001+ Termsig=11
001- Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf%A8//IGNORE"): invalid multibyte sequence in %sbug76249.php on line %d
002- int(3)
003- DONE
1 (4%)
001+ Termsig=0
001- Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf%A8//IGNORE"): invalid multibyte sequence in %sbug76249.php on line %d
002- int(3)
003- DONE