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

==16291== Conditional jump or move depends on uninitialised value(s)
==16291==    at 0x4C29190: malloc (vg_replace_malloc.c:298)
==16291==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==16291==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==16291==    by 0x8B95F8: zif_ldap_connect (ldap.c:375)
==16291==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==16291==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==16291==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==16291==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==16291==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==16291==    by 0xE0E0CD: php_execute_script (main.c:2613)
==16291==    by 0x10AC586: do_cli (php_cli.c:998)
==16291==    by 0x10ADD7F: main (php_cli.c:1382)
==16291== 
==16291== Conditional jump or move depends on uninitialised value(s)
==16291==    at 0xE122AE: strx_printv (snprintf.c:1219)
==16291==    by 0xE126A5: ap_php_snprintf (snprintf.c:1275)
==16291==    by 0x8B96DD: zif_ldap_connect (ldap.c:380)
==16291==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==16291==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==16291==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==16291==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==16291==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==16291==    by 0xE0E0CD: php_execute_script (main.c:2613)
==16291==    by 0x10AC586: do_cli (php_cli.c:998)
==16291==    by 0x10ADD7F: main (php_cli.c:1382)
==16291== 
==16291== Conditional jump or move depends on uninitialised value(s)
==16291==    at 0xE0F9A5: format_converter (snprintf.c:637)
==16291==    by 0xE12314: strx_printv (snprintf.c:1230)
==16291==    by 0xE126A5: ap_php_snprintf (snprintf.c:1275)
==16291==    by 0x8B96DD: zif_ldap_connect (ldap.c:380)
==16291==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==16291==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==16291==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==16291==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==16291==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==16291==    by 0xE0E0CD: php_execute_script (main.c:2613)
==16291==    by 0x10AC586: do_cli (php_cli.c:998)
==16291==    by 0x10ADD7F: main (php_cli.c:1382)
==16291== 
==16291== Conditional jump or move depends on uninitialised value(s)
==16291==    at 0xE120E5: format_converter (snprintf.c:1188)
==16291==    by 0xE12314: strx_printv (snprintf.c:1230)
==16291==    by 0xE126A5: ap_php_snprintf (snprintf.c:1275)
==16291==    by 0x8B96DD: zif_ldap_connect (ldap.c:380)
==16291==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==16291==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==16291==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==16291==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==16291==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==16291==    by 0xE0E0CD: php_execute_script (main.c:2613)
==16291==    by 0x10AC586: do_cli (php_cli.c:998)
==16291==    by 0x10ADD7F: main (php_cli.c:1382)
==16291== 
==16291== Conditional jump or move depends on uninitialised value(s)
==16291==    at 0xE1232F: strx_printv (snprintf.c:1231)
==16291==    by 0xE126A5: ap_php_snprintf (snprintf.c:1275)
==16291==    by 0x8B96DD: zif_ldap_connect (ldap.c:380)
==16291==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==16291==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==16291==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==16291==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==16291==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==16291==    by 0xE0E0CD: php_execute_script (main.c:2613)
==16291==    by 0x10AC586: do_cli (php_cli.c:998)
==16291==    by 0x10ADD7F: main (php_cli.c:1382)
==16291== 
==16291== Conditional jump or move depends on uninitialised value(s)
==16291==    at 0xE1234E: strx_printv (snprintf.c:1231)
==16291==    by 0xE126A5: ap_php_snprintf (snprintf.c:1275)
==16291==    by 0x8B96DD: zif_ldap_connect (ldap.c:380)
==16291==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==16291==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==16291==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==16291==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==16291==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==16291==    by 0xE0E0CD: php_execute_script (main.c:2613)
==16291==    by 0x10AC586: do_cli (php_cli.c:998)
==16291==    by 0x10ADD7F: main (php_cli.c:1382)
==16291== 

 

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

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