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/ldap/tests/ldap_connect_variation.phpt ('ldap_connect() - Variation')

Script

1: <?php
2:
require "connect.inc";
3:
4:
// no hostname, no port
5:
$link ldap_connect();
6:
var_dump($link);
7:
8:
// no port
9:
$link ldap_connect($host);
10:
var_dump($link);
11:
12:
// URI
13:
$link ldap_connect("ldap://$host:$port");
14:
var_dump($link);
15:
16:
// URI no port
17:
$link ldap_connect("ldap://$host");
18:
var_dump($link);
19:
20:
// bad hostname (connect should work, not bind)
21:
$link ldap_connect("nonexistent" $host);
22:
var_dump($link);
23:
24:
// Legacy host:port syntax
25:
$link ldap_connect("$host:$port");
26:
var_dump($link);
27:
?>
28:
===DONE===
29:

Report

==6554== Conditional jump or move depends on uninitialised value(s)
==6554==    at 0x4C29190: malloc (vg_replace_malloc.c:298)
==6554==    by 0xE96F47: __zend_malloc (zend_alloc.h:97)
==6554==    by 0xE9BA78: _emalloc (zend_alloc.c:2427)
==6554==    by 0x8B9C60: zif_ldap_connect (ldap.c:375)
==6554==    by 0xF600AE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6554==    by 0xF6BC44: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6554==    by 0xF5DB34: execute_ex (zend_vm_execute.h:363)
==6554==    by 0xF5E6D7: zend_execute (zend_vm_execute.h:388)
==6554==    by 0xEF2222: zend_execute_scripts (zend.c:1341)
==6554==    by 0xE0E79D: php_execute_script (main.c:2613)
==6554==    by 0x10ACC56: do_cli (php_cli.c:998)
==6554==    by 0x10AE44F: main (php_cli.c:1382)
==6554== 
==6554== Conditional jump or move depends on uninitialised value(s)
==6554==    at 0xE1297E: strx_printv (snprintf.c:1219)
==6554==    by 0xE12D75: ap_php_snprintf (snprintf.c:1275)
==6554==    by 0x8B9D45: zif_ldap_connect (ldap.c:380)
==6554==    by 0xF600AE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6554==    by 0xF6BC44: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6554==    by 0xF5DB34: execute_ex (zend_vm_execute.h:363)
==6554==    by 0xF5E6D7: zend_execute (zend_vm_execute.h:388)
==6554==    by 0xEF2222: zend_execute_scripts (zend.c:1341)
==6554==    by 0xE0E79D: php_execute_script (main.c:2613)
==6554==    by 0x10ACC56: do_cli (php_cli.c:998)
==6554==    by 0x10AE44F: main (php_cli.c:1382)
==6554== 
==6554== Conditional jump or move depends on uninitialised value(s)
==6554==    at 0xE10075: format_converter (snprintf.c:637)
==6554==    by 0xE129E4: strx_printv (snprintf.c:1230)
==6554==    by 0xE12D75: ap_php_snprintf (snprintf.c:1275)
==6554==    by 0x8B9D45: zif_ldap_connect (ldap.c:380)
==6554==    by 0xF600AE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6554==    by 0xF6BC44: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6554==    by 0xF5DB34: execute_ex (zend_vm_execute.h:363)
==6554==    by 0xF5E6D7: zend_execute (zend_vm_execute.h:388)
==6554==    by 0xEF2222: zend_execute_scripts (zend.c:1341)
==6554==    by 0xE0E79D: php_execute_script (main.c:2613)
==6554==    by 0x10ACC56: do_cli (php_cli.c:998)
==6554==    by 0x10AE44F: main (php_cli.c:1382)
==6554== 
==6554== Conditional jump or move depends on uninitialised value(s)
==6554==    at 0xE127B5: format_converter (snprintf.c:1188)
==6554==    by 0xE129E4: strx_printv (snprintf.c:1230)
==6554==    by 0xE12D75: ap_php_snprintf (snprintf.c:1275)
==6554==    by 0x8B9D45: zif_ldap_connect (ldap.c:380)
==6554==    by 0xF600AE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6554==    by 0xF6BC44: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6554==    by 0xF5DB34: execute_ex (zend_vm_execute.h:363)
==6554==    by 0xF5E6D7: zend_execute (zend_vm_execute.h:388)
==6554==    by 0xEF2222: zend_execute_scripts (zend.c:1341)
==6554==    by 0xE0E79D: php_execute_script (main.c:2613)
==6554==    by 0x10ACC56: do_cli (php_cli.c:998)
==6554==    by 0x10AE44F: main (php_cli.c:1382)
==6554== 
==6554== Conditional jump or move depends on uninitialised value(s)
==6554==    at 0xE129FF: strx_printv (snprintf.c:1231)
==6554==    by 0xE12D75: ap_php_snprintf (snprintf.c:1275)
==6554==    by 0x8B9D45: zif_ldap_connect (ldap.c:380)
==6554==    by 0xF600AE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6554==    by 0xF6BC44: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6554==    by 0xF5DB34: execute_ex (zend_vm_execute.h:363)
==6554==    by 0xF5E6D7: zend_execute (zend_vm_execute.h:388)
==6554==    by 0xEF2222: zend_execute_scripts (zend.c:1341)
==6554==    by 0xE0E79D: php_execute_script (main.c:2613)
==6554==    by 0x10ACC56: do_cli (php_cli.c:998)
==6554==    by 0x10AE44F: main (php_cli.c:1382)
==6554== 
==6554== Conditional jump or move depends on uninitialised value(s)
==6554==    at 0xE12A1E: strx_printv (snprintf.c:1231)
==6554==    by 0xE12D75: ap_php_snprintf (snprintf.c:1275)
==6554==    by 0x8B9D45: zif_ldap_connect (ldap.c:380)
==6554==    by 0xF600AE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6554==    by 0xF6BC44: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6554==    by 0xF5DB34: execute_ex (zend_vm_execute.h:363)
==6554==    by 0xF5E6D7: zend_execute (zend_vm_execute.h:388)
==6554==    by 0xEF2222: zend_execute_scripts (zend.c:1341)
==6554==    by 0xE0E79D: php_execute_script (main.c:2613)
==6554==    by 0x10ACC56: do_cli (php_cli.c:998)
==6554==    by 0x10AE44F: main (php_cli.c:1382)
==6554== 

 

Generated at Fri, 10 Nov 2017 14:18:45 +0000 (7 days ago)

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