[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


URL:
  <http://savannah.gnu.org/support/?108189>

                 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

    _______________________________________________________

Details:

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
commit: 

  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.
https://crossfire.svn.sourceforge.net/svnroot/crossfire)

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
[3]
http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=50f0068ae327abce4f648cfb12132b0254f9afa8

I can provide additional information if needed.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108189>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





More information about the Gnutls-devel mailing list