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


ssl/s3_srvr.c:1042:25: Assignment
1040.   
1041.           /* Load the client random */
1042.           challenge_len = challenge_len > SSL3_RANDOM_SIZE ? SSL3_RANDOM_SIZE :
                                ^
1043.               challenge_len;
1044.           memset(s->s3->client_random, 0, SSL3_RANDOM_SIZE);

ssl/s3_srvr.c:1042:9: Assignment
1040.   
1041.           /* Load the client random */
1042.           challenge_len = challenge_len > SSL3_RANDOM_SIZE ? SSL3_RANDOM_SIZE :
                ^
1043.               challenge_len;
1044.           memset(s->s3->client_random, 0, SSL3_RANDOM_SIZE);

ssl/s3_srvr.c:1045:14: Call
1043.               challenge_len;
1044.           memset(s->s3->client_random, 0, SSL3_RANDOM_SIZE);
1045.           if (!PACKET_copy_bytes(&challenge,
                     ^
1046.                                  s->s3->client_random + SSL3_RANDOM_SIZE -
1047.                                  challenge_len, challenge_len)) {

ssl/packet_locl.h:347:8: Parameter `len`
  345.    * The caller is responsible for ensuring that |data| can hold |len| bytes.
  346.    */
  347.   __owur static inline int PACKET_copy_bytes(PACKET *pkt, unsigned char *data,
                ^
  348.                                              size_t len)
  349.   {

ssl/packet_locl.h:353:5: Call
  351.           return 0;
  352.   
  353.       packet_forward(pkt, len);
             ^
  354.   
  355.       return 1;

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

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

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

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

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