I will upload a patched version in the next few hours if there are no objections.
Patch is included below. -Chris Error instead of warn on address truncation. Author: Chris Taylor <ctay...@debian.org> --- a/xio-unix.c +++ b/xio-unix.c @@ -79,7 +79,7 @@ xiosetunix(int pf, #ifdef WITH_ABSTRACT_UNIXSOCKET if (abstract) { if ((pathlen =3D strlen(path)) >=3D sizeof(saun->sun_path)) { - Warn2("socket address "F_Zu" characters long, truncating to "F_Zu"", + Error2("socket address "F_Zu" characters long, truncating to "F_Zu"", pathlen+1, sizeof(saun->sun_path)); } saun->sun_path[0] =3D '\0'; /* so it's abstract */ @@ -98,7 +98,7 @@ xiosetunix(int pf, #endif /* WITH_ABSTRACT_UNIXSOCKET */ if ((pathlen =3D strlen(path)) > sizeof(saun->sun_path)) { - Warn2("unix socket address "F_Zu" characters long, truncating to "F_Zu"", + Error2("unix socket address "F_Zu" characters long, truncating to "F_Zu"", pathlen, sizeof(saun->sun_path)); } strncpy(saun->sun_path, path, sizeof(saun->sun_path));
signature.asc
Description: OpenPGP digital signature