You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
phpdbg_error("wait", "type=\"nosocket\" import=\"fail\"", "Unable to open a socket to UNIX domain socket at %s defined by phpdbg.path ini setting", PHPDBG_G(socket_path));
351
+
returnFAILURE;
352
+
}
347
353
348
354
local.sun_family=AF_UNIX;
349
-
strcpy(local.sun_path, PHPDBG_G(socket_path));
355
+
if (strlcpy(local.sun_path, PHPDBG_G(socket_path), sizeof(local.sun_path)) >sizeof(local.sun_path)) {
356
+
phpdbg_error("wait", "type=\"nosocket\" import=\"fail\"", "Socket at %s defined by phpdbg.path ini setting is too long", PHPDBG_G(socket_path));
if (bind(sl, (structsockaddr*)&local, len) ==-1) {
352
361
phpdbg_error("wait", "type=\"nosocket\" import=\"fail\"", "Unable to connect to UNIX domain socket at %s defined by phpdbg.path ini setting", PHPDBG_G(socket_path));
phpdbg_error("wait", "type=\"nosocket\" import=\"fail\"", "Unable to create a connection to UNIX domain socket at %s defined by phpdbg.path ini setting", PHPDBG_G(socket_path));
0 commit comments