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


apps/s_server.c:2554:1: Array declaration
2552.   }
2553.   
2554. > static int init_ssl_connection(SSL *con)
2555.   {
2556.       int i;

apps/s_server.c:2630:9: Call
2628.       }
2629.   
2630.       if (SSL_get_shared_ciphers(con, buf, sizeof buf) != NULL)
                ^
2631.           BIO_printf(bio_s_out, "Shared ciphers:%s\n", buf);
2632.       str = SSL_CIPHER_get_name(SSL_get_current_cipher(con));

ssl/ssl_lib.c:1408:1: <Length trace>
1406.   
1407.   /* works well for SSLv2, not so good for SSLv3 */
1408. > char *SSL_get_shared_ciphers(const SSL *s, char *buf, int len)
1409.   {
1410.       char *p;

ssl/ssl_lib.c:1408:1: Parameter `*buf`
  1406.   
  1407.   /* works well for SSLv2, not so good for SSLv3 */
  1408. > char *SSL_get_shared_ciphers(const SSL *s, char *buf, int len)
  1409.   {
  1410.       char *p;

ssl/ssl_lib.c:1418:5: Assignment
  1416.           return (NULL);
  1417.   
  1418.       p = buf;
              ^
  1419.       sk = s->session->ciphers;
  1420.   

ssl/ssl_lib.c:1440:5: Array access: Offset: -1 Size: 8192 by call to `SSL_get_shared_ciphers` 
  1438.           len -= n + 1;
  1439.       }
  1440.       p[-1] = '\0';
              ^
  1441.       return (buf);
  1442.   }
