[gnutls-devel] gnutls_openpgp_keyring_import() doesn't report the proper error if incorrect armor is used

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu Mar 6 19:26:31 CET 2014


On Mon, 2014-03-03 at 05:43 +0000, Ramkumar Chinchani wrote:


>                 raw_len = written;
> +               if (raw_len == 0) {
> +                       gnutls_assert();
> +                       err = GNUTLS_E_BASE64_DECODING_ERROR;
> +                       goto error;
> +               }

Applied, thank you.

Nikos






More information about the Gnutls-devel mailing list