In ASN1_BIT_STRING_set_bit ( crypto/x509v3/a_bitstr.c),
If n bit is greater than 8 and a->data is NULL ,a low byte of a->data is'nt initialized.
so, I correct errors like below. this code work fine..
-------
  if (!value) return(1); /* Don't need to set */
  if (a->data == NULL)
+  {
   c=(unsigned char *)Malloc(w+1);
+   memset(c,0,w+1);
+  }
  else
   c=(unsigned char *)Realloc(a->data,w+1);
-----
Thanks.
Jeon.

Reply via email to