NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/53851: libwrap prints "m" instead of errno
>Number: 53851
>Category: lib
>Synopsis: libwrap prints "m" instead of errno
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 10 11:30:00 +0000 2019
>Originator: Andreas Gustafsson
>Release: NetBSD 8.0_BETA
>Organization:
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:
Perusing the syslog of a network-facing server, I saw the following
warning messages:
Jan 10 05:58:43 redacted inetd[1291]: warning: can't get client address: m
Jan 10 05:58:43 redacted inetd[1291]: warning: can't get client address: m
That unhelpful "m" apparently aries in src/lib/libwrap/socket.c:
tcpd_warn("can't get client address: %m");
because the changes in src/lib/libwrap/diag.c 1.10 cause tcpd_warn()
to no longer support the "%m" format specifier.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index