ssl/t1_lib.c:2005: error: INTEGER_OVERFLOW_L2
  ([4, +oo] - [0, 255]):unsigned64 by call to `PACKET_copy_bytes`.
Showing all 11 steps of the trace


ssl/t1_lib.c:1985:29: Call
1983.               while (PACKET_remaining(&ssubpkt) > 3) {
1984.                   if (!PACKET_get_1(&ssubpkt, &servname_type)
1985.                           || !PACKET_get_net_2(&ssubpkt, &len)
                                    ^
1986.                           || PACKET_remaining(&ssubpkt) < len)
1987.                       goto 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/t1_lib.c:2005:34: Call
2003.                                   return 0;
2004.                               }
2005.                               if (!PACKET_copy_bytes(&ssubpkt,
                                         ^
2006.                                       (unsigned char *)s->session
2007.                                           ->tlsext_hostname,

ssl/packet_locl.h:340:8: Parameter `len`
  338.    * The caller is responsible for ensuring that |data| can hold |len| bytes.
  339.    */
  340.   __owur static inline int PACKET_copy_bytes(PACKET *pkt, unsigned char *data,
                ^
  341.                                              size_t len)
  342.   {

ssl/packet_locl.h:346:5: Call
  344.           return 0;
  345.   
  346.       packet_forward(pkt, len);
             ^
  347.   
  348.       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: ([4, +oo] - [0, 255]):unsigned64 by call to `PACKET_copy_bytes` 
    80.   {
    81.       pkt->curr += len;
    82.       pkt->remaining -= len;
              ^
    83.   }
    84.   
