We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a7fb80 commit 3eb5e4eCopy full SHA for 3eb5e4e
1 file changed
ibase_service.c
@@ -251,14 +251,14 @@ PHP_FUNCTION(ibase_service_attach)
251
if(ulen > 0){
252
buf[p++] = isc_spb_user_name;
253
buf[p++] = (char)ulen;
254
- memcpy(&buf[p], &user, ulen);
+ memcpy(&buf[p], user, ulen);
255
p += ulen;
256
}
257
258
if(plen > 0){
259
buf[p++] = isc_spb_password;
260
buf[p++] = (char)plen;
261
- memcpy(&buf[p], &pass, plen);
+ memcpy(&buf[p], pass, plen);
262
p += plen;
263
264
0 commit comments