Bug#503833: reassign, patch link

Andreas Metzler ametzler at downhill.at.eu.org
Thu Nov 6 19:33:08 UTC 2008


On 2008-11-06 dann frazier <dannf at debian.org> wrote:
> reassign 503833 libtasn1-3
> severity 503833 important
> thanks

> Upstream has developed a patch:
>   http://lists.gnu.org/archive/html/gnutls-devel/2008-11/msg00000.html

> If I apply this to libtasn1-3 it fixes the problem for me.
> However, I had set the nocheck DEB_BUILD_OPTION because it causes
> libtasn1-3 to fail at least one build-time test.

> It would be nice to get a fix for this into lenny as it will fix a
> regression from etch's subversion.

Hello,

I have just uploaded a fixed version to experimental. I am reluctant
to go immediately to unstable since it requires a shlibs bump due to
an added function.

I am not also not sure about this change:

----------------------
--- a/lib/libtasn1.h
+++ b/lib/libtasn1.h
@@ -105,11 +105,14 @@ extern "C"
 /* that represent an ASN.1 DEFINITION.                */
 /******************************************************/
 
+#define SMALL_VALUE_SIZE 16
+
   struct node_asn_struct
   {
     char *name;                        /* Node name */
     unsigned int type;         /* Node type */
     unsigned char *value;      /* Node value */
+    unsigned char small_value[SMALL_VALUE_SIZE]; /* if value is less than that store it here */
     int value_len;
     struct node_asn_struct *down;      /* Pointer to the son node */
     struct node_asn_struct *right;     /* Pointer to the brother node */
     struct node_asn_struct *left;       /* Pointer to the next list element */
   };

   typedef struct node_asn_struct node_asn;

   typedef node_asn *ASN1_TYPE;
----------------------

Although the docs only talk about using the ASN1_TYPE pointer the
struct definition still is in the public interface. Doesn't this break
the ABI? - I am really not sure, to tired.

cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'





More information about the Pkg-gnutls-maint mailing list