[sr #108189] gnutls_x509_crt_init(1) returns null in neon

Alexander Vershilov INVALID.NOREPLY at gnu.org
Tue Nov 27 10:40:09 CET 2012


                 Summary: gnutls_x509_crt_init(1) returns null in neon
                 Project: GnuTLS
            Submitted by: qnikst
            Submitted on: Tue 27 Nov 2012 09:40:08 AM GMT
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux



When neon is used with resent gnutls version it segfaults when it is used by
subversion to checkout some https repositories. [1,2]

error was in code sample:

    gnutls_x509_crt dest;
    if (gnutls_x509_crt_init(&dest) != 0) {
        return NULL;

I tried to find out when this behavior is introduced and find out that it's a

  50f0068ae327abce4f648cfb12132b0254f9afa8 [3]

And problem still persist in current gnutls versions.

How to reproduce:
1). install gnutls
2). install neon with gnutls support
3). install subversion
4). try to checkout svn repo (e.g.

Libraries and programs:

1). gnutls >= 2.99.4
2). neon-0.29.6
3). subversion 1.7.7

[1] https://bugs.gentoo.org/show_bug.cgi?id=440936
[2] https://bugs.gentoo.org/show_bug.cgi?id=443854

I can provide additional information if needed.


Reply to this item at:


  Message sent via/by Savannah

More information about the Gnutls-devel mailing list