test/ssltest_old.c:2917: error: BUFFER_OVERRUN_L2
  Offset: [-oo, 1048576] Size: 256 by call to `X509_NAME_oneline`.
Showing all 6 steps of the trace


test/ssltest_old.c:2913:1: Array declaration
2911.   }
2912.   
2913. > static int verify_callback(int ok, X509_STORE_CTX *ctx)
2914.   {
2915.       char *s, buf[256];

test/ssltest_old.c:2917:9: Call
2915.       char *s, buf[256];
2916.   
2917.       s = X509_NAME_oneline(X509_get_subject_name(X509_STORE_CTX_get_current_cert(ctx)),
                ^
2918.                             buf, sizeof buf);
2919.       if (s != NULL) {

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

crypto/x509/x509_obj.c:134:13: Assignment
  132.               break;
  133.           } else
  134.               p = &(buf[lold]);
                     ^
  135.           *(p++) = '/';
  136.           memcpy(p, s, (unsigned int)l1);

crypto/x509/x509_obj.c:135:9: Array access: Offset: [-oo, 1048576] Size: 256 by call to `X509_NAME_oneline` 
  133.           } else
  134.               p = &(buf[lold]);
  135.           *(p++) = '/';
                 ^
  136.           memcpy(p, s, (unsigned int)l1);
  137.           p += l1;
