ssl/ssl_lib.c:152: error: BUFFER_OVERRUN_L1
  Offset: 54 (⇐ 7 + 47) Size: 48 by call to `ssl_create_cipher_list`.
Showing all 6 steps of the trace


ssl/ssl_lib.c:152:5: Call
150.   	ctx->method=meth;
151.   
152.   	sk=ssl_create_cipher_list(ctx->method,&(ctx->cipher_list),
           ^
153.   		&(ctx->cipher_list_by_id),SSL_DEFAULT_CIPHER_LIST);
154.   	if ((sk == NULL) || (sk_SSL_CIPHER_num(sk) <= 0))

ssl/ssl_ciph.c:297:1: <Offset trace>
295.   	}
296.   
297. > STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(SSL_METHOD *ssl_method,
298.   		STACK_OF(SSL_CIPHER) **cipher_list,
299.   		STACK_OF(SSL_CIPHER) **cipher_list_by_id,

ssl/ssl_ciph.c:297:1: Parameter `str->strlen`
  295.   	}
  296.   
  297. > STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(SSL_METHOD *ssl_method,
  298.   		STACK_OF(SSL_CIPHER) **cipher_list,
  299.   		STACK_OF(SSL_CIPHER) **cipher_list_by_id,

ssl/ssl_ciph.c:297:1: <Length trace>
295.   	}
296.   
297. > STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(SSL_METHOD *ssl_method,
298.   		STACK_OF(SSL_CIPHER) **cipher_list,
299.   		STACK_OF(SSL_CIPHER) **cipher_list_by_id,

ssl/ssl_ciph.c:297:1: Parameter `*str`
  295.   	}
  296.   
  297. > STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(SSL_METHOD *ssl_method,
  298.   		STACK_OF(SSL_CIPHER) **cipher_list,
  299.   		STACK_OF(SSL_CIPHER) **cipher_list_by_id,

ssl/ssl_ciph.c:332:3: Array access: Offset: 54 (⇐ 7 + 47) Size: 48 by call to `ssl_create_cipher_list` 
  330.   		strcpy(tmp_str,SSL_DEFAULT_CIPHER_LIST);
  331.   		strcat(tmp_str,":");
  332.   		strcat(tmp_str,&(str[7]));
           ^
  333.   		str=tmp_str;
  334.   		}

int SSL_CTX_set_ssl_version(SSL_CTX *ctx,SSL_METHOD *meth)
	{
	STACK_OF(SSL_CIPHER) *sk;
	ctx->method=meth;
	sk=ssl_create_cipher_list(ctx->method,&(ctx->cipher_list),
		&(ctx->cipher_list_by_id),SSL_DEFAULT_CIPHER_LIST);
	if ((sk == NULL) || (sk_SSL_CIPHER_num(sk) <= 0))
		{
		SSLerr(SSL_F_SSL_CTX_SET_SSL_VERSION,SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS);
		return(0);
		}
	return(1);
	}
['int SSL_CTX_set_ssl_version(SSL_CTX *ctx,SSL_METHOD *meth)\n\t{\n\tSTACK_OF(SSL_CIPHER) *sk;\n\tctx->method=meth;\n\tsk=ssl_create_cipher_list(ctx->method,&(ctx->cipher_list),\n\t\t&(ctx->cipher_list_by_id),SSL_DEFAULT_CIPHER_LIST);\n\tif ((sk == NULL) || (sk_SSL_CIPHER_num(sk) <= 0))\n\t\t{\n\t\tSSLerr(SSL_F_SSL_CTX_SET_SSL_VERSION,SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS);\n\t\treturn(0);\n\t\t}\n\treturn(1);\n\t}']