Ethereal-dev: Re: [Ethereal-dev] Bug in asn2eth - not properly handling .FN_BODY with "%s" in

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 17 Oct 2005 17:11:31 -0700
LEGO wrote:

If it is that way I believe that:
   g_snprintf(object_identifier_id, MAX_OID_STR_LEN, "%%s", oid);
should workarround the issue.

Yes, I saw some other .cnf files doing that, so I checked that change into the ACSE and RTSE dissectors.

If it's intentional that the #.FN_BODY text have % expansion being done, the requirement for that extra level of escaping should be documented - as should the expansion being done, so people know how to use that feature.

If it's *not* intentional, that should be fixed.