]> granicus.if.org Git - php/commitdiff
MFH: fix #34855 (ibase_service_attach() segfault on AMD64)
authorAntony Dovgal <tony2001@php.net>
Thu, 13 Oct 2005 12:58:48 +0000 (12:58 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 13 Oct 2005 12:58:48 +0000 (12:58 +0000)
NEWS
ext/interbase/ibase_service.c

diff --git a/NEWS b/NEWS
index badcd181dd42d61e9b3277614c15c13537cdf3ef..fb725d286de478096a492da1f2d1da8b5bc9409f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,8 @@ PHP                                                                        NEWS
 - Fixed "make test" to work for phpized extensions. (Hartmut, Jani)
 - Fixed failing queries (FALSE returned) with mysqli_query() on 64 bit systems.
   (Andrey)
+- Fixed bug #34855 (ibase_service_attach() segfault on AMD64). 
+  (irie at gmx dot de, Tony)
 - Fixed bug #34850 (--program-suffix and --program-prefix not included in
   man page names). (Jani)
 - Fixed bug #34818 (several functions crash when invalid mysqli_link object 
index bc635f3dfc5b11c30e660c2e582716c41686ccca..6bd98c2092cd9f4d6a19a41b1e121d16043a81c9 100644 (file)
@@ -210,7 +210,7 @@ PHP_FUNCTION(ibase_delete_user)
    Connect to the service manager */
 PHP_FUNCTION(ibase_service_attach)
 {
-       long hlen, ulen, plen, spb_len;
+       int hlen, ulen, plen, spb_len;
        ibase_service *svm;
        char buf[128], *host, *user, *pass, *loc;
        isc_svc_handle handle = NULL;