Download src/php/php-src/ext/readline/tests/gh16812.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 269 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/readline/tests/gh16812.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/readline/tests/gh16812.phpt
-
curl -L -o gh16812.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/readline/tests/gh16812.phpt
269 Bytes
| --TEST-- | |
| GH-16812 readline_info(): UAF | |
| --EXTENSIONS-- | |
| readline | |
| --SKIPIF-- | |
| if (getenv('SKIP_REPEAT')) die("skip readline has global state"); | |
| --FILE-- | |
| readline_write_history(NULL); | |
| var_dump(readline_info('line_buffer', 'test')); | |
| --EXPECT-- | |
| string(0) "" | |