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


ssl/statem/statem_srvr.c:988:25: Assignment
986.   
987.           /* Load the client random and compression list. */
988.           challenge_len = challenge_len > sizeof(clienthello.random)
                               ^
989.                           ? sizeof(clienthello.random) : challenge_len;
990.           memset(clienthello.random, 0, sizeof(clienthello.random));

ssl/statem/statem_srvr.c:988:9: Assignment
986.   
987.           /* Load the client random and compression list. */
988.           challenge_len = challenge_len > sizeof(clienthello.random)
               ^
989.                           ? sizeof(clienthello.random) : challenge_len;
990.           memset(clienthello.random, 0, sizeof(clienthello.random));

ssl/statem/statem_srvr.c:991:14: Call
989.                           ? sizeof(clienthello.random) : challenge_len;
990.           memset(clienthello.random, 0, sizeof(clienthello.random));
991.           if (!PACKET_copy_bytes(&challenge,
                    ^
992.                                  clienthello.random + sizeof(clienthello.random) -
993.                                  challenge_len, challenge_len)

ssl/packet_locl.h:379:8: Parameter `len`
  377.    * The caller is responsible for ensuring that |data| can hold |len| bytes.
  378.    */
  379.   __owur static ossl_inline int PACKET_copy_bytes(PACKET *pkt,
                ^
  380.                                                   unsigned char *data, size_t len)
  381.   {

ssl/packet_locl.h:385:5: Call
  383.           return 0;
  384.   
  385.       packet_forward(pkt, len);
             ^
  386.   
  387.       return 1;

ssl/packet_locl.h:33:1: <LHS trace>
31.   
32.   /* Internal unchecked shorthand; don't use outside this file. */
33. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
34.   {
35.       pkt->curr += len;

ssl/packet_locl.h:33:1: Parameter `pkt->remaining`
    31.   
    32.   /* Internal unchecked shorthand; don't use outside this file. */
    33. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
    34.   {
    35.       pkt->curr += len;

ssl/packet_locl.h:33:1: <RHS trace>
31.   
32.   /* Internal unchecked shorthand; don't use outside this file. */
33. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
34.   {
35.       pkt->curr += len;

ssl/packet_locl.h:33:1: Parameter `len`
    31.   
    32.   /* Internal unchecked shorthand; don't use outside this file. */
    33. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
    34.   {
    35.       pkt->curr += len;

ssl/packet_locl.h:36:5: Binary operation: ([0, +oo] - [0, 32]):unsigned64 by call to `PACKET_copy_bytes` 
    34.   {
    35.       pkt->curr += len;
    36.       pkt->remaining -= len;
              ^
    37.   }
    38.   
