test/ssltest_old.c:2962: error: BUFFER_OVERRUN_L3
  Offset: [199, 255] Size: [1, 2147483644] by call to `X509_NAME_oneline`.
Showing all 6 steps of the trace


test/ssltest_old.c:2962:17: Call
2960.                   (void *)ctx, (void *)c);
2961.           if (c)
2962.               s = X509_NAME_oneline(X509_get_subject_name(c), buf, 256);
                        ^
2963.           if (s != NULL) {
2964.               printf("cert depth=%d %s\n",

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

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

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

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

crypto/x509/x509_obj.c:57:9: Array access: Offset: [199, 255] Size: [1, 2147483644] by call to `X509_NAME_oneline` 
  55.           }
  56.           strncpy(buf, "NO X509_NAME", len);
  57.           buf[len - 1] = '\0';
                ^
  58.           return buf;
  59.       }
