crypto/x509v3/v3_scts.c:161: error: BUFFER_OVERRUN_L3
  Offset: [-529, +oo] Size: 12 by call to `ASN1_GENERALIZEDTIME_print`.
Showing all 11 steps of the trace


crypto/x509v3/v3_scts.c:151:5: Call
149.       char genstr[20];
150.       gen = ASN1_GENERALIZEDTIME_new();
151.       ASN1_GENERALIZEDTIME_adj(gen, (time_t)0,
           ^
152.                                (int)(timestamp / 86400000),
153.                                (timestamp % 86400000) / 1000);

crypto/asn1/a_gentm.c:216:1: Parameter `*s->data`
  214.   }
  215.   
  216. > ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s,
  217.                                                  time_t t, int offset_day,
  218.                                                  long offset_sec)

crypto/x509v3/v3_scts.c:160:5: Call
158.       BIO_snprintf(genstr, sizeof(genstr), "%.14s.%03dZ",
159.                    ASN1_STRING_data(gen), (unsigned int)(timestamp % 1000));
160.       ASN1_GENERALIZEDTIME_set_string(gen, genstr);
           ^
161.       ASN1_GENERALIZEDTIME_print(out, gen);
162.       ASN1_GENERALIZEDTIME_free(gen);

crypto/asn1/a_gentm.c:191:1: Parameter `*s->data`
  189.   }
  190.   
  191. > int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str)
  192.   {
  193.       ASN1_GENERALIZEDTIME t;

crypto/x509v3/v3_scts.c:161:5: Call
159.                    ASN1_STRING_data(gen), (unsigned int)(timestamp % 1000));
160.       ASN1_GENERALIZEDTIME_set_string(gen, genstr);
161.       ASN1_GENERALIZEDTIME_print(out, gen);
           ^
162.       ASN1_GENERALIZEDTIME_free(gen);
163.   }

crypto/asn1/a_gentm.c:266:1: <Offset trace>
264.   };
265.   
266. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
267.   {
268.       char *v;

crypto/asn1/a_gentm.c:266:1: Parameter `*tm->data`
  264.   };
  265.   
  266. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
  267.   {
  268.       char *v;

crypto/asn1/a_gentm.c:287:5: Assignment
  285.       y = (v[0] - '0') * 1000 + (v[1] - '0') * 100
  286.           + (v[2] - '0') * 10 + (v[3] - '0');
  287.       M = (v[4] - '0') * 10 + (v[5] - '0');
             ^
  288.       if ((M > 12) || (M < 1))
  289.           goto err;

crypto/asn1/a_gentm.c:261:1: <Length trace>
259.   }
260.   
261. > const char *_asn1_mon[12] = {
262.       "Jan", "Feb", "Mar", "Apr", "May", "Jun",
263.       "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"

crypto/asn1/a_gentm.c:261:1: Array declaration
  259.   }
  260.   
  261. > const char *_asn1_mon[12] = {
  262.       "Jan", "Feb", "Mar", "Apr", "May", "Jun",
  263.       "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"

crypto/asn1/a_gentm.c:308:20: Array access: Offset: [-529, +oo] Size: 12 by call to `ASN1_GENERALIZEDTIME_print` 
  306.   
  307.       if (BIO_printf(bp, "%s %2d %02d:%02d:%02d%.*s %d%s",
  308.                      _asn1_mon[M - 1], d, h, m, s, f_len, f, y,
                            ^
  309.                      (gmt) ? " GMT" : "") <= 0)
  310.           return (0);
