apps/s_client.c:2586: error: BUFFER_OVERRUN_L3
  Offset: [199, 8191] Size: [1, 2147483644] by call to `X509_NAME_oneline`.
Showing all 6 steps of the trace


apps/s_client.c:2586:17: Call
2584.               BIO_printf(bio, "---\nCertificate chain\n");
2585.               for (i = 0; i < sk_X509_num(sk); i++) {
2586.                   X509_NAME_oneline(X509_get_subject_name(sk_X509_value(sk, i)),
                        ^
2587.                                     buf, sizeof buf);
2588.                   BIO_printf(bio, "%2d s:%s\n", i, buf);

crypto/x509/x509_obj.c:73:1: <Offset trace>
71.   #define NAME_ONELINE_MAX    (1024 * 1024)
72.   
73. > char *X509_NAME_oneline(X509_NAME *a, char *buf, int len)
74.   {
75.       X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:73:1: Parameter `len`
  71.   #define NAME_ONELINE_MAX    (1024 * 1024)
  72.   
  73. > char *X509_NAME_oneline(X509_NAME *a, char *buf, int len)
  74.   {
  75.       X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:73:1: <Length trace>
71.   #define NAME_ONELINE_MAX    (1024 * 1024)
72.   
73. > char *X509_NAME_oneline(X509_NAME *a, char *buf, int len)
74.   {
75.       X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:73:1: Parameter `*buf`
  71.   #define NAME_ONELINE_MAX    (1024 * 1024)
  72.   
  73. > char *X509_NAME_oneline(X509_NAME *a, char *buf, int len)
  74.   {
  75.       X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:105:9: Array access: Offset: [199, 8191] Size: [1, 2147483644] by call to `X509_NAME_oneline` 
  103.           }
  104.           strncpy(buf, "NO X509_NAME", len);
  105.           buf[len - 1] = '\0';
                 ^
  106.           return buf;
  107.       }
