Lines Matching refs:tar
2 Phar: tar with huge filenames, buffer overflow
9 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.tar';
10 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.tar';
13 include dirname(__FILE__) . '/files/make.dangerous.tar.php.inc';
15 $tar = new danger_tarmaker($fname, 'none');
16 $tar->init();
17 $tar->addFile(str_repeat('a', 101), 'hi');
18 $tar->addFile(str_repeat('a', 255), 'hi2');
19 $tar->close();
32 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.tar');
33 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.tar');