apps/s_client.c:1557: error: BUFFER_OVERRUN_L1
  Offset: -1 Size: 8192 by call to `SSL_get_shared_ciphers`.
Showing all 6 steps of the trace


apps/s_client.c:1486:1: Array declaration
1484.   
1485.   
1486. > static void print_stuff(BIO *bio, SSL *s, int full)
1487.   	{
1488.   	X509 *peer=NULL;

apps/s_client.c:1557:5: Call
1555.   			BIO_printf(bio,"---\nNo client certificate CA names sent\n");
1556.   			}
1557.   		p=SSL_get_shared_ciphers(s,buf,sizeof buf);
            ^
1558.   		if (p != NULL)
1559.   			{

ssl/ssl_lib.c:1277:1: <Length trace>
1275.   
1276.   /* works well for SSLv2, not so good for SSLv3 */
1277. > char *SSL_get_shared_ciphers(const SSL *s,char *buf,int len)
1278.   	{
1279.   	char *p;

ssl/ssl_lib.c:1277:1: Parameter `*buf`
  1275.   
  1276.   /* works well for SSLv2, not so good for SSLv3 */
  1277. > char *SSL_get_shared_ciphers(const SSL *s,char *buf,int len)
  1278.   	{
  1279.   	char *p;

ssl/ssl_lib.c:1288:2: Assignment
  1286.   		return(NULL);
  1287.   
  1288.   	p=buf;
           ^
  1289.   	sk=s->session->ciphers;
  1290.   	for (i=0; i<sk_SSL_CIPHER_num(sk); i++)

ssl/ssl_lib.c:1308:2: Array access: Offset: -1 Size: 8192 by call to `SSL_get_shared_ciphers` 
  1306.   		len-=n+1;
  1307.   		}
  1308.   	p[-1]='\0';
           ^
  1309.   	return(buf);
  1310.   	}
