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


crypto/x509/x_name.c:389:19: <Length trace>
387.   
388.       out->type = V_ASN1_UTF8STRING;
389.       out->length = ASN1_STRING_to_UTF8(&out->data, in);
                         ^
390.       if (out->length == -1)
391.           return 0;

crypto/x509/x_name.c:389:19: Call
387.   
388.       out->type = V_ASN1_UTF8STRING;
389.       out->length = ASN1_STRING_to_UTF8(&out->data, in);
                         ^
390.       if (out->length == -1)
391.           return 0;

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

crypto/x509/x_name.c:389:5: Assignment
387.   
388.       out->type = V_ASN1_UTF8STRING;
389.       out->length = ASN1_STRING_to_UTF8(&out->data, in);
           ^
390.       if (out->length == -1)
391.           return 0;

crypto/x509/x_name.c:396:5: Assignment
394.       from = to;
395.   
396.       len = out->length;
           ^
397.   
398.       /*

crypto/x509/x_name.c:411:5: Assignment
409.       }
410.   
411.       to = from + len;
           ^
412.   
413.       /* Ignore trailing spaces */

crypto/x509/x_name.c:414:23: Array access: Offset: -1 Size: [0, +oo]
412.   
413.       /* Ignore trailing spaces */
414.       while (len > 0 && ossl_isspace(to[-1])) {
                             ^
415.           to--;
416.           len--;
