xref: /PHP-8.3/ext/mbstring/tests/bug79037.phpt (revision 6600ad60)
1--TEST--
2Bug #79037: global buffer-overflow in `mbfl_filt_conv_big5_wchar`
3--EXTENSIONS--
4mbstring
5--FILE--
6<?php
7
8var_dump(mb_convert_encoding("\x81\x3a", "UTF-8", "CP950"));
9
10?>
11--EXPECT--
12string(1) "?"
13