Download src/php/php-src/ext/iconv/tests/bug78069.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 273 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/iconv/tests/bug78069.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/iconv/tests/bug78069.phpt
-
curl -L -o bug78069.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/iconv/tests/bug78069.phpt
273 Bytes
| --TEST-- | |
| Bug #78069 (Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow) | |
| --EXTENSIONS-- | |
| iconv | |
| --FILE-- | |
| $hdr = iconv_mime_decode_headers(file_get_contents(__DIR__ . "/bug78069.data"),2); | |
| var_dump(count($hdr)); | |
| DONE | |
| --EXPECT-- | |
| int(1) | |
| DONE |