gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: solutions


From: Werner Koch
Subject: Re: solutions
Date: Wed, 05 Aug 2009 09:03:27 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11)

On Tue,  4 Aug 2009 13:56, address@hidden said:

> function is passed the OID for CN, it has to return the information,
> otherwise you'll get other problems if you return an error saying that
> there is no CN field.

Better an error than doing something not intended.

> But if we use the RFC 2253 formatting, all things are safe.

Just make sure that parsing the BER of all arcs is fine and does not
overflow.  I consider an arc which can't be represented by a 32 bit
value as fishy and return an error (i.e. the mentioned special OID).


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]