crypto/x509/x_name.c:402: error: BUFFER_OVERRUN_L1
  Offset: -1 Size: [0, +oo].
Showing all 7 steps of the trace


crypto/x509/x_name.c:378:19: <Length trace>
376.   
377.       out->type = V_ASN1_UTF8STRING;
378.       out->length = ASN1_STRING_to_UTF8(&out->data, in);
                         ^
379.       if (out->length == -1)
380.           return 0;

crypto/x509/x_name.c:378:19: Call
376.   
377.       out->type = V_ASN1_UTF8STRING;
378.       out->length = ASN1_STRING_to_UTF8(&out->data, in);
                         ^
379.       if (out->length == -1)
380.           return 0;

crypto/asn1/a_strex.c:576:9: Assignment
  574.       int mbflag, type, ret;
  575.       if (!in)
  576.           return -1;
                 ^
  577.       type = in->type;
  578.       if ((type < 0) || (type > 30))

crypto/x509/x_name.c:378:5: Assignment
376.   
377.       out->type = V_ASN1_UTF8STRING;
378.       out->length = ASN1_STRING_to_UTF8(&out->data, in);
           ^
379.       if (out->length == -1)
380.           return 0;

crypto/x509/x_name.c:385:5: Assignment
383.       from = to;
384.   
385.       len = out->length;
           ^
386.   
387.       /*

crypto/x509/x_name.c:399:5: Assignment
397.       }
398.   
399.       to = from + len;
           ^
400.   
401.       /* Ignore trailing spaces */

crypto/x509/x_name.c:402:27: Array access: Offset: -1 Size: [0, +oo]
400.   
401.       /* Ignore trailing spaces */
402.       while ((len > 0) && !(to[-1] & 0x80) && isspace(to[-1])) {
                                 ^
403.           to--;
404.           len--;
