Searched refs:finfo_open (Results 1 – 25 of 36) sorted by relevance
12
/php-src/ext/fileinfo/tests/ |
H A D | finfo_open_basic.phpt | 2 Test finfo_open() function : basic functionality 9 echo "*** Testing finfo_open() : basic functionality ***\n"; 11 // Calling finfo_open() with different options 12 var_dump( finfo_open( FILEINFO_MIME, $magicFile ) ); 13 var_dump( finfo_open( FILEINFO_NONE, $magicFile ) ); 14 var_dump( finfo_open( FILEINFO_SYMLINK, $magicFile ) ); 15 //var_dump( finfo_open( FILEINFO_COMPRESS, $magicFile ) ); 16 var_dump( finfo_open( FILEINFO_DEVICES, $magicFile ) ); 17 var_dump( finfo_open( FILEINFO_CONTINUE, $magicFile ) ); 19 var_dump( finfo_open( FILEINFO_RAW, $magicFile ) ); [all …]
|
H A D | finfo_open_variation1.phpt | 2 Test finfo_open() function : variations in opening 9 echo "*** Testing finfo_open() : variations in opening ***\n"; 11 // Calling finfo_open() with different options 12 var_dump( finfo_open( FILEINFO_MIME | FILEINFO_SYMLINK, $magicFile ) ); 13 //var_dump( finfo_open( FILEINFO_COMPRESS | FILEINFO_PRESERVE_ATIME, $magicFile ) ); 14 var_dump( finfo_open( FILEINFO_DEVICES | FILEINFO_RAW, $magicFile ) ); 18 *** Testing finfo_open() : variations in opening ***
|
H A D | finfo_open_error.phpt | 2 Test finfo_open() function : error functionality 9 echo "*** Testing finfo_open() : error functionality ***\n"; 11 var_dump( finfo_open( FILEINFO_MIME, 'foobarfile' ) ); 12 var_dump( finfo_open( PHP_INT_MAX - 1, $magicFile ) ); 15 var_dump( finfo_open( 'foobar' ) ); 28 *** Testing finfo_open() : error functionality *** 30 Warning: finfo_open(%sfoobarfile): Failed to open stream: No such file or directory in %sfinfo_open… 32 Warning: finfo_open(%sfoobarfile): Failed to open stream: No such file or directory in %sfinfo_open… 34 Warning: finfo_open(): Failed to load magic database at "%sfoobarfile" in %sfinfo_open_error.php on… 37 Warning: finfo_open(): using regular magic file `%smagic' in %sfinfo_open_error.php on line %d [all …]
|
H A D | finfo_open_001.phpt | 2 finfo_open(): Testing magic_file names 8 var_dump(finfo_open(FILEINFO_MIME, "\0")); 13 var_dump(finfo_open(FILEINFO_MIME, NULL)); 14 var_dump(finfo_open(FILEINFO_MIME, '')); 15 var_dump(finfo_open(FILEINFO_MIME, 123)); 16 var_dump(finfo_open(FILEINFO_MIME, 1.0)); 17 var_dump(finfo_open(FILEINFO_MIME, '/foo/bar/inexistent')); 41 finfo_open(): Argument #2 ($magic_database) must not contain any null bytes 51 Warning: finfo_open(): Failed to load magic database at "%s123" in %s on line %d 58 Warning: finfo_open(): Failed to load magic database at "%s1" in %s on line %d [all …]
|
H A D | bug61964-mb.phpt | 2 Bug #61964 (finfo_open with directory cause invalid free) 10 $ret = @finfo_open(FILEINFO_NONE, $magic_file . ".non-exits私はガラスを食べられます"); 21 $ret = finfo_open(FILEINFO_NONE, $dir); 24 $ret = @finfo_open(FILEINFO_NONE, $dir); 27 $ret = @finfo_open(FILEINFO_NONE, $dir. "/non-exits-dir私はガラスを食べられます"); 35 finfo_open(FILEINFO_NONE, $dir); 53 Warning: finfo_open(): offset `string' invalid in %sbug61964-mb.php on line %d 55 Warning: finfo_open(): offset ` Core' invalid in %sbug61964-mb.php on line %d 57 Warning: finfo_open(): offset ` Me' invalid in %sbug61964-mb.php on line %d 59 Warning: finfo_open(): offset `a' invalid in %sbug61964-mb.php on line %d [all …]
|
H A D | bug61964.phpt | 2 Bug #61964 (finfo_open with directory cause invalid free) 10 $ret = @finfo_open(FILEINFO_NONE, $magic_file . ".non-exits"); 21 $ret = finfo_open(FILEINFO_NONE, $dir); 24 $ret = @finfo_open(FILEINFO_NONE, $dir); 27 $ret = @finfo_open(FILEINFO_NONE, $dir. "/non-exits-dir"); 35 finfo_open(FILEINFO_NONE, $dir); 53 Warning: finfo_open(): offset `string' invalid in %sbug61964.php on line %d 55 Warning: finfo_open(): offset ` Core' invalid in %sbug61964.php on line %d 57 Warning: finfo_open(): offset ` Me' invalid in %sbug61964.php on line %d 59 Warning: finfo_open(): offset `a' invalid in %sbug61964.php on line %d [all …]
|
H A D | bug77961.phpt | 2 Bug #77961 (finfo_open crafted magic parsing SIGABRT) 7 finfo_open(FILEINFO_NONE, __DIR__ . '/bug77961.magic'); 10 Warning: finfo_open(): Expected numeric type got `indirect' in %s on line %d 12 Warning: finfo_open(): Failed to load magic database at "%sbug77961.magic" in %s on line %d
|
H A D | bug71527.phpt | 2 Bug #71527 Buffer over-write in finfo_open with malformed magic file 9 $finfo = finfo_open(FILEINFO_NONE, __DIR__ . DIRECTORY_SEPARATOR . "bug71527.magic"); 13 Warning: finfo_open(): Failed to load magic database at "%sbug71527.magic" in %sbug71527.php on lin…
|
H A D | bug71527-mb.phpt | 2 Bug #71527 Buffer over-write in finfo_open with malformed magic file 9 … $finfo = finfo_open(FILEINFO_NONE, __DIR__ . DIRECTORY_SEPARATOR . "bug71527私はガラスを食べられます.magic"); 13 Warning: finfo_open(): Failed to load magic database at "%sbug71527私はガラスを食べられます.magic" in %sbug7152…
|
H A D | bug68996.phpt | 9 finfo_open(FILEINFO_MIME_TYPE, "\xfc\x63"); 13 <b>Warning</b>: finfo_open(%s�c): Failed to open stream: No such file or directory in <b>%sbug6899… 15 <b>Warning</b>: finfo_open(%s�c): Failed to open stream: No such file or directory in <b>%sbug6899… 17 <b>Warning</b>: finfo_open(): Failed to load magic database at "%s�c" in <b>%s</b> on li…
|
H A D | finfo_open_004.phpt | 2 finfo_open(): Testing magic_file names 11 var_dump(finfo_open(FILEINFO_MIME, $buggyPath)); 20 Warning: finfo_open(): File name is longer than the maximum allowed path length on this platform (%…
|
H A D | finfo_open_003.phpt | 2 finfo_open(): Testing magic_file names 9 var_dump(finfo_open(FILEINFO_MIME, $buggyPath));
|
H A D | cve-2014-1943-mb.phpt | 16 $fi = finfo_open(FILEINFO_NONE); 22 $fi = finfo_open(FILEINFO_NONE, $fm);
|
H A D | cve-2014-1943.phpt | 16 $fi = finfo_open(FILEINFO_NONE); 22 $fi = finfo_open(FILEINFO_NONE, $fm);
|
H A D | bug81723.phpt | 9 $f = finfo_open();
|
H A D | bug68731.phpt | 8 $finfo = finfo_open(FILEINFO_MIME_TYPE);
|
H A D | bug79756.phpt | 8 $finfo = finfo_open(FILEINFO_MIME);
|
H A D | precedural_finfo_in_method.phpt | 10 $finfo = finfo_open(FILEINFO_MIME);
|
H A D | bug69320.phpt | 10 var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname));
|
H A D | finfo_close_basic.phpt | 11 $finfo = finfo_open( FILEINFO_MIME, $magicFile );
|
H A D | finfo_file_stream_001.phpt | 9 $fp = finfo_open(FILEINFO_MIME_TYPE);
|
H A D | finfo_set_flags_basic-mb.phpt | 8 $finfo = finfo_open( FILEINFO_MIME, $magicFile );
|
H A D | finfo_set_flags_basic.phpt | 8 $finfo = finfo_open( FILEINFO_MIME, $magicFile );
|
H A D | finfo_upstream.phpt | 15 $finfo = finfo_open(FILEINFO_NONE, file_exists($mp) ? $mp : NULL);
|
/php-src/ext/fileinfo/ |
H A D | fileinfo_arginfo.h | 57 ZEND_FUNCTION(finfo_open); 65 ZEND_FE(finfo_open, arginfo_finfo_open)
|
Completed in 14 milliseconds
12