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

==9581== Conditional jump or move depends on uninitialised value(s)
==9581==    at 0x4C29190: malloc (vg_replace_malloc.c:298)
==9581==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==9581==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==9581==    by 0x8B9C5C: zif_ldap_connect (ldap.c:375)
==9581==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==9581==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==9581==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==9581==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==9581==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==9581==    by 0xE0E799: php_execute_script (main.c:2613)
==9581==    by 0x10ACC52: do_cli (php_cli.c:998)
==9581==    by 0x10AE44B: main (php_cli.c:1382)
==9581== 
==9581== Conditional jump or move depends on uninitialised value(s)
==9581==    at 0xE1297A: strx_printv (snprintf.c:1219)
==9581==    by 0xE12D71: ap_php_snprintf (snprintf.c:1275)
==9581==    by 0x8B9D41: zif_ldap_connect (ldap.c:380)
==9581==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==9581==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==9581==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==9581==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==9581==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==9581==    by 0xE0E799: php_execute_script (main.c:2613)
==9581==    by 0x10ACC52: do_cli (php_cli.c:998)
==9581==    by 0x10AE44B: main (php_cli.c:1382)
==9581== 
==9581== Conditional jump or move depends on uninitialised value(s)
==9581==    at 0xE10071: format_converter (snprintf.c:637)
==9581==    by 0xE129E0: strx_printv (snprintf.c:1230)
==9581==    by 0xE12D71: ap_php_snprintf (snprintf.c:1275)
==9581==    by 0x8B9D41: zif_ldap_connect (ldap.c:380)
==9581==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==9581==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==9581==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==9581==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==9581==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==9581==    by 0xE0E799: php_execute_script (main.c:2613)
==9581==    by 0x10ACC52: do_cli (php_cli.c:998)
==9581==    by 0x10AE44B: main (php_cli.c:1382)
==9581== 
==9581== Conditional jump or move depends on uninitialised value(s)
==9581==    at 0xE127B1: format_converter (snprintf.c:1188)
==9581==    by 0xE129E0: strx_printv (snprintf.c:1230)
==9581==    by 0xE12D71: ap_php_snprintf (snprintf.c:1275)
==9581==    by 0x8B9D41: zif_ldap_connect (ldap.c:380)
==9581==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==9581==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==9581==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==9581==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==9581==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==9581==    by 0xE0E799: php_execute_script (main.c:2613)
==9581==    by 0x10ACC52: do_cli (php_cli.c:998)
==9581==    by 0x10AE44B: main (php_cli.c:1382)
==9581== 
==9581== Conditional jump or move depends on uninitialised value(s)
==9581==    at 0xE129FB: strx_printv (snprintf.c:1231)
==9581==    by 0xE12D71: ap_php_snprintf (snprintf.c:1275)
==9581==    by 0x8B9D41: zif_ldap_connect (ldap.c:380)
==9581==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==9581==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==9581==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==9581==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==9581==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==9581==    by 0xE0E799: php_execute_script (main.c:2613)
==9581==    by 0x10ACC52: do_cli (php_cli.c:998)
==9581==    by 0x10AE44B: main (php_cli.c:1382)
==9581== 
==9581== Conditional jump or move depends on uninitialised value(s)
==9581==    at 0xE12A1A: strx_printv (snprintf.c:1231)
==9581==    by 0xE12D71: ap_php_snprintf (snprintf.c:1275)
==9581==    by 0x8B9D41: zif_ldap_connect (ldap.c:380)
==9581==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==9581==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==9581==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==9581==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==9581==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==9581==    by 0xE0E799: php_execute_script (main.c:2613)
==9581==    by 0x10ACC52: do_cli (php_cli.c:998)
==9581==    by 0x10AE44B: main (php_cli.c:1382)
==9581== 

 

Generated at Mon, 22 Jan 2018 09:49:31 +0000 (22 hours ago)

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