File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Bug #78793: Use-after-free in exif parsing under memory sanitizer
4
4
exif
5
5
--FILE--
6
6
<?php
7
- $ f = " ext/exif/tests /bug77950.tiff " ;
7
+ $ f = __DIR__ . " /bug77950.tiff " ;
8
8
for ($ i = 0 ; $ i < 10 ; $ i ++) {
9
9
@exif_read_data ($ f );
10
10
}
Original file line number Diff line number Diff line change 7
7
$ options = array ("cache_wsdl " => WSDL_CACHE_NONE );
8
8
// Need a warm-up for globals
9
9
for ($ i = 0 ; $ i < 10 ; $ i ++) {
10
- $ client = new SoapClient (" ext/soap/tests /test.wsdl " , $ options );
10
+ $ client = new SoapClient (__DIR__ . " /test.wsdl " , $ options );
11
11
}
12
12
$ usage = memory_get_usage ();
13
13
for ($ i = 0 ; $ i < 10 ; $ i ++) {
14
- $ client = new SoapClient (" ext/soap/tests /test.wsdl " , $ options );
14
+ $ client = new SoapClient (__DIR__ . " /test.wsdl " , $ options );
15
15
}
16
16
$ usage_delta = memory_get_usage () - $ usage ;
17
17
var_dump ($ usage_delta );
You can’t perform that action at this time.
0 commit comments