ssl/s3_clnt.c:1125: error: INTEGER_OVERFLOW_L2
  ([1, +oo] - [0, 32]):unsigned64 by call to `PACKET_get_bytes`.
Showing all 11 steps of the trace


ssl/s3_clnt.c:1079:10: Call
1077.   
1078.       /* get the session-id length */
1079.       if (!PACKET_get_1(&pkt, &j)
                 ^
1080.               || (j > sizeof s->session->session_id)
1081.               || (j > SSL3_SESSION_ID_SIZE)) {

ssl/packet_locl.h:250:10: Call
  248.   __owur static inline int PACKET_get_1(PACKET *pkt, unsigned int *data)
  249.   {
  250.       if (!PACKET_peek_1(pkt, data))
                  ^
  251.           return 0;
  252.   

ssl/packet_locl.h:237:8: Parameter `*data`
    235.   
    236.   /* Peek ahead at 1 byte from |pkt| and store the value in |*data| */
    237.   __owur static inline int PACKET_peek_1(const PACKET *pkt, unsigned int *data)
                  ^
    238.   {
    239.       if (!PACKET_remaining(pkt))

ssl/s3_clnt.c:1125:10: Call
1123.   
1124.       /* Get the session id */
1125.       if (!PACKET_get_bytes(&pkt, &session_id, j)) {
                 ^
1126.           SSLerr(SSL_F_SSL3_GET_SERVER_HELLO, SSL_R_LENGTH_MISMATCH);
1127.           al = SSL_AD_DECODE_ERROR;

ssl/packet_locl.h:313:8: Parameter `len`
  311.    * freed
  312.    */
  313.   __owur static inline int PACKET_get_bytes(PACKET *pkt, unsigned char **data,
                ^
  314.                                             size_t len)
  315.   {

ssl/packet_locl.h:319:5: Call
  317.           return 0;
  318.   
  319.       packet_forward(pkt, len);
             ^
  320.   
  321.       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: ([1, +oo] - [0, 32]):unsigned64 by call to `PACKET_get_bytes` 
    80.   {
    81.       pkt->curr += len;
    82.       pkt->remaining -= len;
              ^
    83.   }
    84.   
