apps/s_server.c:2826: 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:2800:1: Array declaration
2798.   }
2799.   
2800. > static void print_connection_info(SSL *con)
2801.   {
2802.       const char *str;

apps/s_server.c:2826:9: Call
2824.       }
2825.   
2826.       if (SSL_get_shared_ciphers(con, buf, sizeof(buf)) != NULL)
                ^
2827.           BIO_printf(bio_s_out, "Shared ciphers:%s\n", buf);
2828.       str = SSL_CIPHER_get_name(SSL_get_current_cipher(con));

ssl/ssl_lib.c:2552:1: <Length trace>
2550.   }
2551.   
2552. > char *SSL_get_shared_ciphers(const SSL *s, char *buf, int size)
2553.   {
2554.       char *p;

ssl/ssl_lib.c:2552:1: Parameter `*buf`
  2550.   }
  2551.   
  2552. > char *SSL_get_shared_ciphers(const SSL *s, char *buf, int size)
  2553.   {
  2554.       char *p;

ssl/ssl_lib.c:2565:5: Assignment
  2563.           return NULL;
  2564.   
  2565.       p = buf;
              ^
  2566.       clntsk = s->session->ciphers;
  2567.       srvrsk = SSL_get_ciphers(s);

ssl/ssl_lib.c:2593:5: Array access: Offset: -1 Size: 8192 by call to `SSL_get_shared_ciphers` 
  2591.           size -= n + 1;
  2592.       }
  2593.       p[-1] = '\0';
              ^
  2594.       return buf;
  2595.   }
