apps/s_client.c:2381: error: BUFFER_OVERRUN_L3
  Offset added: [200, 8192] Size: [1, 2147483644] by call to `X509_NAME_oneline`.
Showing all 6 steps of the trace


apps/s_client.c:2381:17: Call
2379.               BIO_printf(bio, "---\nCertificate chain\n");
2380.               for (i = 0; i < sk_X509_num(sk); i++) {
2381.                   X509_NAME_oneline(X509_get_subject_name(sk_X509_value(sk, i)),
                        ^
2382.                                     buf, sizeof buf);
2383.                   BIO_printf(bio, "%2d s:%s\n", i, buf);

crypto/x509/x509_obj.c:67:1: <Offset trace>
65.   #include "internal/x509_int.h"
66.   
67. > char *X509_NAME_oneline(X509_NAME *a, char *buf, int len)
68.   {
69.       X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:67:1: Parameter `len`
  65.   #include "internal/x509_int.h"
  66.   
  67. > char *X509_NAME_oneline(X509_NAME *a, char *buf, int len)
  68.   {
  69.       X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:67:1: <Length trace>
65.   #include "internal/x509_int.h"
66.   
67. > char *X509_NAME_oneline(X509_NAME *a, char *buf, int len)
68.   {
69.       X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:67:1: Parameter `*buf`
  65.   #include "internal/x509_int.h"
  66.   
  67. > char *X509_NAME_oneline(X509_NAME *a, char *buf, int len)
  68.   {
  69.       X509_NAME_ENTRY *ne;

crypto/x509/x509_obj.c:96:9: Array access: Offset added: [200, 8192] Size: [1, 2147483644] by call to `X509_NAME_oneline` 
  94.               OPENSSL_free(b);
  95.           }
  96.           strncpy(buf, "NO X509_NAME", len);
                ^
  97.           buf[len - 1] = '\0';
  98.           return buf;
