CVS update: php3/functions
| From: | rasmus | Date: | Mon, 10 Aug 1998 02:53:58 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63@lists.php.net to get a copy of this message | ||
Date: Sunday August 9, 1998 @ 22:53
Author: rasmus
Update of /repository/php3/functions
In directory asf:/tmp/cvs-serv19612/functions
Modified Files:
ldap.c
Log Message:
Attempt to fix an LDAP core dump
Index: php3/functions/ldap.c
diff -c php3/functions/ldap.c:1.50 php3/functions/ldap.c:1.51
*** php3/functions/ldap.c:1.50 Thu Jul 9 02:57:12 1998
--- php3/functions/ldap.c Sun Aug 9 22:53:57 1998
***************
*** 29,35 ****
*/
! /* $Id: ldap.c,v 1.50 1998/07/09 06:57:12 amitay Exp $ */
#ifndef MSVC5
#include "config.h"
--- 29,35 ----
*/
! /* $Id: ldap.c,v 1.51 1998/08/10 02:53:57 rasmus Exp $ */
#ifndef MSVC5
#include "config.h"
***************
*** 270,276 ****
php3_printf("<table>"
"<tr><td>Total links:</td><td>%d/%s</td></tr>\n"
! "<tr><td>RCS Version:</td><td>$Id: ldap.c,v 1.50 1998/07/09
06:57:12 amitay Exp $</td></tr>\n"
#if HAVE_NSLDAP
"<tr><td>SDK Version:</td><td>%f</td></tr>"
"<tr><td>Highest LDAP Protocol
Supported:</td><td>%f</td></tr>"
--- 270,276 ----
php3_printf("<table>"
"<tr><td>Total links:</td><td>%d/%s</td></tr>\n"
! "<tr><td>RCS Version:</td><td>$Id: ldap.c,v 1.51 1998/08/10
02:53:57 rasmus Exp $</td></tr>\n"
#if HAVE_NSLDAP
"<tr><td>SDK Version:</td><td>%f</td></tr>"
"<tr><td>Highest LDAP Protocol
Supported:</td><td>%f</td></tr>"
***************
*** 812,818 ****
ldap_result_entry = _get_ldap_result_entry(result_entry, list);
if (ldap_result_entry == NULL) RETURN_FALSE;
! _free_ldap_result(ldap_result_entry);
php3_list_delete(result_entry->value.lval);
RETURN_TRUE;
}
--- 812,818 ----
ldap_result_entry = _get_ldap_result_entry(result_entry, list);
if (ldap_result_entry == NULL) RETURN_FALSE;
! /* _free_ldap_result(ldap_result_entry); We shouldn't do this -RL */
php3_list_delete(result_entry->value.lval);
RETURN_TRUE;
}
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net