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


ssl/s3_clnt.c:1519:14: Call
1517.       if (alg_k & SSL_PSK) {
1518.   
1519.           if (!PACKET_get_net_2(&pkt, &i)) {
                     ^
1520.               SSLerr(SSL_F_SSL3_GET_KEY_EXCHANGE, SSL_R_LENGTH_TOO_SHORT);
1521.               goto f_err;

ssl/packet_locl.h:171:10: Call
  169.   __owur static inline int PACKET_get_net_2(PACKET *pkt, unsigned int *data)
  170.   {
  171.       if (!PACKET_peek_net_2(pkt, data))
                  ^
  172.           return 0;
  173.   

ssl/packet_locl.h:155:8: Parameter `*data`
    153.    * |*data|
    154.    */
    155.   __owur static inline int PACKET_peek_net_2(const PACKET *pkt,
                  ^
    156.                                              unsigned int *data)
    157.   {

ssl/s3_clnt.c:1545:18: Call
1543.               unsigned char *hint = NULL;
1544.   
1545.               if (!PACKET_get_bytes(&pkt, &hint, i)) {
                         ^
1546.                   SSLerr(SSL_F_SSL3_GET_KEY_EXCHANGE, SSL_R_LENGTH_MISMATCH);
1547.                   goto f_err;

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: ([2, +oo] - [0, 128]):unsigned64 by call to `PACKET_get_bytes` 
    80.   {
    81.       pkt->curr += len;
    82.       pkt->remaining -= len;
              ^
    83.   }
    84.   
