repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Basic flow analysis on if statements
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_xsl
/
ext_xsl_null_byte.php
blob
4d9d0da4f97709161e71c76cef5baec52e1d7f8e
1
<
?hh
2
3
4
<<
__EntryPoint
>>
5
function
main_ext_xsl_null_byte
() {
6
$file
=
'/etc/passwd'
.
chr
(
0
).
'asdf'
;
7
8
$doc
=
new
DOMDocument
();
9
$proc
=
new
XSLTProcessor
();
10
var_dump
(
$proc
->
setProfiling
(
$file
));
11
var_dump
(
$proc
->
transformToURI
(
$doc
,
$file
));
12
}