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

==9153== Conditional jump or move depends on uninitialised value(s)
==9153==    at 0x4FFBEE: php_openssl_enable_crypto (xp_ssl.c:1792)
==9153==    by 0x50171D: php_openssl_sockop_set_option (xp_ssl.c:2226)
==9153==    by 0xE24381: _php_stream_set_option (streams.c:1357)
==9153==    by 0xE3B930: php_stream_xport_crypto_enable (transports.c:384)
==9153==    by 0x501887: php_openssl_sockop_set_option (xp_ssl.c:2251)
==9153==    by 0xE24381: _php_stream_set_option (streams.c:1357)
==9153==    by 0xE3B2FA: php_stream_xport_connect (transports.c:243)
==9153==    by 0xE3A9E0: _php_stream_xport_create (transports.c:143)
==9153==    by 0xCD9D74: php_stream_url_wrap_http_ex (http_fopen_wrapper.c:210)
==9153==    by 0xCE14C2: php_stream_url_wrap_http_ex (http_fopen_wrapper.c:917)
==9153==    by 0xCE198E: php_stream_url_wrap_http (http_fopen_wrapper.c:981)
==9153==    by 0xE27270: _php_stream_open_wrapper_ex (streams.c:2059)
==9153== 

 

Generated at Mon, 16 Apr 2018 16:12:41 +0000 (8 days ago)

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