Annotation of embedaddon/php/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: dl() filename length checks (CVE-2007-4887)
                      3: --INI--
                      4: enable_dl=1
                      5: --FILE--
                      6: <?php
                      7: var_dump(dl(str_repeat("a", 8376757)));
                      8: ?>
                      9: --EXPECTF--    
                     10: 
                     11: Warning: dl(): File name exceeds the maximum allowed length of %d characters in %s on line %d
                     12: bool(false)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>