Ethereal-dev: [Ethereal-dev] Glib errors "string not UTF8" when decoding IPX SAP

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Greg Morris" <gmorris@xxxxxxxxxx>
Date: Tue, 17 Aug 2004 11:11:02 -0600
IPX SAP packets contain names of services. NetWare servers will
advertise the NDS tree name with their internal IPX address hashed onto
the end of the name so that each SAP entry is unique per server. When
one of these SAP packets is dissected and the name is displayed in the
decode panal,  then a console window opens on Win32 platforms displaying
GLIB errors indicating that the string was not in UTF8 format. 

The attached patch adds the format_text() function from strutil.c to
properly escape the invalid characters and elliminate the glib errors.

Please apply,
Greg

Attachment: packet-ipx.c.diff
Description: Binary data