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.

Date: Tue, 18 Oct 2005 01:57:23 +0200
On 10/18/05, Guy Harris <gharris@xxxxxxxxx> wrote:
> which means that if out contains any "%" characters, they'll be treated
> as introducing a printf-like format sequence, and substitution will be done.
>
> Does this mean that it's unsafe to use any printf-like procedure calls
> inside #.FN_BODY sections?  If so, that should either be documented
> (complete with a workaround!), or fixed.

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

--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan