Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 22:07:17 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Jon Dama <jd@ugcs.caltech.edu>
Cc:        current@freebsd.org
Subject:   Re: BSDcan slides uploaded 
Message-ID:  <22364.1116533237@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 19 May 2005 12:45:15 PDT." <Pine.LNX.4.53.0505191238560.25801@heave.ugcs.caltech.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.LNX.4.53.0505191238560.25801@heave.ugcs.caltech.edu>, Jon Dama
 writes:

>Though I have to take issue with Poul's opinion that writing many text
>parsers is just as secure as writing one ASN.1 decoder, but then again I
>wasn't at the talk so maybe Poul has one magic text parser to solve all of
>the problems.

Having written 2½ ASN.1 parser myself, I couldn't help but wonder if
you have "one magic ASN.1 parser to solve all of the problems" ?  :-)

Seriously, one of the problems I'm pointing out is that since one end
of the interface has a keyboard in 99.99% of the cases, the type
determination might as well be postponed so that we only have to parse
the input once, rather than two times.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22364.1116533237>