--- php-4.4.5/ext/interbase/interbase.c.org 2007-02-19 09:20:58.986623000 +0100 +++ php-4.4.5/ext/interbase/interbase.c 2007-02-19 09:25:40.666623000 +0100 @@ -3048,9 +3048,9 @@ */ /* Build buffer for isc_service_attach() */ - snprintf(buf, sizeof(buf), "%c%c%c%d%s%c%d%s", isc_spb_version, isc_spb_current_version, isc_spb_user_name, + snprintf(spb, sizeof(spb), "%c%c%c%d%s%c%d%s", isc_spb_version, isc_spb_current_version, isc_spb_user_name, strlen(dba_user_name), dba_user_name, isc_spb_password, strlen(dba_password), dba_password); - spb_length = strlen(buf); + spb_length = strlen(spb); /* Attach to the Service Manager */ snprintf(service_name, sizeof(service_name), "%s:service_mgr", ib_server);