crypto/x509v3/v3_alt.c:104: error: BUFFER_OVERRUN_L3
  Offset added: [200, 256] Size: [1, 2147483644] by call to `X509_NAME_oneline`.
Showing all 6 steps of the trace


crypto/x509v3/v3_alt.c:104:13: Call
102.   
103.       case GEN_DIRNAME:
104.           if (X509_NAME_oneline(gen->d.dirn, oline, sizeof(oline)) == NULL
                   ^
105.                   || !X509V3_add_value("DirName", oline, &ret))
106.               return NULL;

crypto/x509/x509_obj.c:24:1: <Offset trace>
22.   #define NAME_ONELINE_MAX    (1024 * 1024)
23.   
24. > char *X509_NAME_oneline(const X509_NAME *a, char *buf, int len)
25.   {
26.       const X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:24:1: Parameter `len`
  22.   #define NAME_ONELINE_MAX    (1024 * 1024)
  23.   
  24. > char *X509_NAME_oneline(const X509_NAME *a, char *buf, int len)
  25.   {
  26.       const X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:24:1: <Length trace>
22.   #define NAME_ONELINE_MAX    (1024 * 1024)
23.   
24. > char *X509_NAME_oneline(const X509_NAME *a, char *buf, int len)
25.   {
26.       const X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:24:1: Parameter `*buf`
  22.   #define NAME_ONELINE_MAX    (1024 * 1024)
  23.   
  24. > char *X509_NAME_oneline(const X509_NAME *a, char *buf, int len)
  25.   {
  26.       const X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:55:9: Array access: Offset added: [200, 256] Size: [1, 2147483644] by call to `X509_NAME_oneline` 
  53.               OPENSSL_free(b);
  54.           }
  55.           strncpy(buf, "NO X509_NAME", len);
                ^
  56.           buf[len - 1] = '\0';
  57.           return buf;
