[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: asn1_der_decoding API misuse
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: asn1_der_decoding API misuse |
Date: |
Fri, 17 Jun 2011 21:44:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 |
On 06/16/2011 04:05 PM, Florian Weimer wrote:
> The comment in gnutls26-2.8.6/lib/minitasn1/decoding.c says this:
>
> * @errorDescription: null-terminated string contains details when an
> * error occurred.
>
> However, there are quite a few error returns without previous writes to
> the errorDescription buffer. Either the callers should be change to
> initialize the character buffer which is passed to asn1_der_decoding(),
> or asn1_der_decoding() should write an empty string to errorDescription
> if no description string is available.
Indeed. It should be fixed. I've added it to my todo list.
regards,
Nikos