PHP  
 PHP_5_6
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/openssl/tests/bug65538_002.phpt ('Bug #65538: SSL context "cafile" disallows URL stream wrappers')

Script

1: <?php
2: $clientCtx 
stream_context_create(['ssl' => [
3:     
'cafile' => 'http://curl.haxx.se/ca/cacert.pem'
4:
]]);
5:
file_get_contents('https://github.com'false$clientCtx);
6:

Report

==26229== Conditional jump or move depends on uninitialised value(s)
==26229==    at 0x5021E2: php_openssl_enable_crypto (xp_ssl.c:1792)
==26229==    by 0x503E03: php_openssl_sockop_set_option (xp_ssl.c:2226)
==26229==    by 0xE3AC13: _php_stream_set_option (streams.c:1357)
==26229==    by 0xE5283C: php_stream_xport_crypto_enable (transports.c:384)
==26229==    by 0x503F98: php_openssl_sockop_set_option (xp_ssl.c:2251)
==26229==    by 0xE3AC13: _php_stream_set_option (streams.c:1357)
==26229==    by 0xE52202: php_stream_xport_connect (transports.c:243)
==26229==    by 0xE518EB: _php_stream_xport_create (transports.c:143)
==26229==    by 0xCECCF4: php_stream_url_wrap_http_ex (http_fopen_wrapper.c:210)
==26229==    by 0xCF477F: php_stream_url_wrap_http_ex (http_fopen_wrapper.c:917)
==26229==    by 0xCF4C92: php_stream_url_wrap_http (http_fopen_wrapper.c:981)
==26229==    by 0xE3DBA8: _php_stream_open_wrapper_ex (streams.c:2059)
==26229== 

 

Generated at Fri, 22 Sep 2017 08:37:29 +0000 (4 days ago)

Copyright © 2005-2017 The PHP Group
All rights reserved.