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

==32288== Conditional jump or move depends on uninitialised value(s)
==32288==    at 0x4FFBEE: php_openssl_enable_crypto (xp_ssl.c:1792)
==32288==    by 0x50171D: php_openssl_sockop_set_option (xp_ssl.c:2226)
==32288==    by 0xE24413: _php_stream_set_option (streams.c:1357)
==32288==    by 0xE3B9C2: php_stream_xport_crypto_enable (transports.c:384)
==32288==    by 0x501887: php_openssl_sockop_set_option (xp_ssl.c:2251)
==32288==    by 0xE24413: _php_stream_set_option (streams.c:1357)
==32288==    by 0xE3B38C: php_stream_xport_connect (transports.c:243)
==32288==    by 0xE3AA72: _php_stream_xport_create (transports.c:143)
==32288==    by 0xCD9E06: php_stream_url_wrap_http_ex (http_fopen_wrapper.c:210)
==32288==    by 0xCE1554: php_stream_url_wrap_http_ex (http_fopen_wrapper.c:917)
==32288==    by 0xCE1A20: php_stream_url_wrap_http (http_fopen_wrapper.c:981)
==32288==    by 0xE27302: _php_stream_open_wrapper_ex (streams.c:2059)
==32288== 

 

Generated at Mon, 24 Sep 2018 07:30:26 +0000 (2 days ago)

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