ssl/statem/statem_clnt.c:1098: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - [0, 256]):unsigned64 by call to `PACKET_copy_bytes`.
Showing all 10 steps of the trace


ssl/statem/statem_clnt.c:1085:17: Call
1083.   
1084.       if (!PACKET_forward(pkt, 2)
1085.               || !PACKET_get_length_prefixed_1(pkt, &cookiepkt)) {
                        ^
1086.           al = SSL_AD_DECODE_ERROR;
1087.           SSLerr(SSL_F_DTLS_PROCESS_HELLO_VERIFY, SSL_R_LENGTH_MISMATCH);

ssl/packet_locl.h:473:8: Parameter `subpkt->remaining`
  471.    * Upon failure, the original |pkt| and |subpkt| are not modified.
  472.    */
  473.   __owur static ossl_inline int PACKET_get_length_prefixed_1(PACKET *pkt,
                ^
  474.                                                              PACKET *subpkt)
  475.   {

ssl/statem/statem_clnt.c:1098:10: Call
1096.       }
1097.   
1098.       if (!PACKET_copy_bytes(&cookiepkt, s->d1->cookie, cookie_len)) {
                 ^
1099.           al = SSL_AD_DECODE_ERROR;
1100.           SSLerr(SSL_F_DTLS_PROCESS_HELLO_VERIFY, SSL_R_LENGTH_MISMATCH);

ssl/packet_locl.h:373:8: Parameter `len`
  371.    * The caller is responsible for ensuring that |data| can hold |len| bytes.
  372.    */
  373.   __owur static ossl_inline int PACKET_copy_bytes(PACKET *pkt,
                ^
  374.                                                   unsigned char *data,
  375.                                                   size_t len)

ssl/packet_locl.h:380:5: Call
  378.           return 0;
  379.   
  380.       packet_forward(pkt, len);
             ^
  381.   
  382.       return 1;

ssl/packet_locl.h:80:1: <LHS trace>
78.   
79.   /* Internal unchecked shorthand; don't use outside this file. */
80. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
81.   {
82.       pkt->curr += len;

ssl/packet_locl.h:80:1: Parameter `pkt->remaining`
    78.   
    79.   /* Internal unchecked shorthand; don't use outside this file. */
    80. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
    81.   {
    82.       pkt->curr += len;

ssl/packet_locl.h:80:1: <RHS trace>
78.   
79.   /* Internal unchecked shorthand; don't use outside this file. */
80. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
81.   {
82.       pkt->curr += len;

ssl/packet_locl.h:80:1: Parameter `len`
    78.   
    79.   /* Internal unchecked shorthand; don't use outside this file. */
    80. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
    81.   {
    82.       pkt->curr += len;

ssl/packet_locl.h:83:5: Binary operation: ([0, +oo] - [0, 256]):unsigned64 by call to `PACKET_copy_bytes` 
    81.   {
    82.       pkt->curr += len;
    83.       pkt->remaining -= len;
              ^
    84.   }
    85.   
