apps/s_server.c:2639: 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_server.c:2639:9: Call
2637.           BIO_printf(bio_s_out, "Client certificate\n");
2638.           PEM_write_bio_X509(bio_s_out, peer);
2639.           X509_NAME_oneline(X509_get_subject_name(peer), buf, sizeof buf);
                ^
2640.           BIO_printf(bio_s_out, "subject=%s\n", buf);
2641.           X509_NAME_oneline(X509_get_issuer_name(peer), buf, sizeof 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.       }
