[gnutls-devel] libtasn1 | memory leaks in asn1_array2tree (#26)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Mar 18 09:20:56 CET 2020




whzhe51 commented:


diff --git a/lib/structure.c b/lib/structure.c
index 8189c56..4a4ce44 100644
--- a/lib/structure.c
+++ b/lib/structure.c
@@ -359,7 +359,7 @@ _asn1_delete_structure (list_type *e_list, asn1_node * structure, unsigned int f
          if (e_list)
        _asn1_delete_node_from_list (e_list, p);
          _asn1_remove_node (p, flags);
-         p = NULL;
+         p = p2;
        }
    }
     }

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/-/issues/26#note_306852759
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200318/6ba62e16/attachment-0001.html>


More information about the Gnutls-devel mailing list