ssl/statem/statem_srvr.c:1879: error: BUFFER_OVERRUN_S2
  Offset: [`s->method->ssl3_enc->hhlen` + 1, `s->method->ssl3_enc->hhlen` + 1] (⇐ `s->method->ssl3_enc->hhlen` + 1) Size: [1, 2147483644].
Showing all 4 steps of the trace


ssl/statem/statem_srvr.c:1657:1: <Length trace>
1655.   }
1656.   
1657. > int tls_construct_server_key_exchange(SSL *s)
1658.   {
1659.   #ifndef OPENSSL_NO_DH

ssl/statem/statem_srvr.c:1657:1: Parameter `s->method->ssl3_enc->hhlen`
1655.   }
1656.   
1657. > int tls_construct_server_key_exchange(SSL *s)
1658.   {
1659.   #ifndef OPENSSL_NO_DH

ssl/statem/statem_srvr.c:1873:9: Assignment
1871.           goto err;
1872.       }
1873.       d = p = ssl_handshake_start(s);
                ^
1874.   
1875.   #ifndef OPENSSL_NO_PSK

ssl/statem/statem_srvr.c:1879:13: Array access: Offset: [s->method->ssl3_enc->hhlen + 1, s->method->ssl3_enc->hhlen + 1] (⇐ s->method->ssl3_enc->hhlen + 1) Size: [1, 2147483644]
1877.           /* copy PSK identity hint */
1878.           if (s->cert->psk_identity_hint) {
1879.               s2n(strlen(s->cert->psk_identity_hint), p);
                    ^
1880.               strncpy((char *)p, s->cert->psk_identity_hint,
1881.                       strlen(s->cert->psk_identity_hint));
