[avahi] Re: Avahi daemon dies on certain hostnames
Ross Burton
ross at burtonini.com
Sat Apr 1 01:27:11 PST 2006
On Sat, 2006-04-01 at 03:06 +0200, Lennart Poettering wrote:
> The problem is not with host names that are proper UTF8 names. Those
> are supported properly right now. The problem appears with host names
> that contain characters that are not valid in UTF8. Avahi doesn't
> check for this right now, but the IPC system we use (DBUS) does and
> runs amok.
How about returning the valid portion of the string, whilst logging the
failure to syslog? Incomplete hostnames will alert the user that
something is up, and syslog will tell them the problem (log an ASCII
representation of the byte sequence and the offset to the invalid
character).
Ross
--
Ross Burton mail: ross at burtonini.com
jabber: ross at burtonini.com
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
More information about the avahi
mailing list