ssl/t1_lib.c:1989: 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:1969:29: Call
1967.               while (PACKET_remaining(&ssubpkt) > 3) {
1968.                   if (!PACKET_get_1(&ssubpkt, &servname_type)
1969.                           || !PACKET_get_net_2(&ssubpkt, &len)
                                    ^
1970.                           || PACKET_remaining(&ssubpkt) < len)
1971.                       goto err;

ssl/packet_locl.h:195:10: Call
  193.                                                  unsigned int *data)
  194.   {
  195.       if (!PACKET_peek_net_2(pkt, data))
                  ^
  196.           return 0;
  197.   

ssl/packet_locl.h:178:8: Parameter `*data`
    176.    * |*data|
    177.    */
    178.   __owur static ossl_inline int PACKET_peek_net_2(const PACKET *pkt,
                  ^
    179.                                                   unsigned int *data)
    180.   {

ssl/t1_lib.c:1989:34: Call
1987.                                   return 0;
1988.                               }
1989.                               if (!PACKET_copy_bytes(&ssubpkt,
                                         ^
1990.                                       (unsigned char *)s->session
1991.                                           ->tlsext_hostname,

ssl/packet_locl.h:373:8: Parameter `len`
  371.    * The caller is responsible for ensuring that |data| can hold |len| bytes.
  372.    */
  373.   __owur static ossl_inline int PACKET_copy_bytes(PACKET *pkt,
                ^
  374.                                                   unsigned char *data,
  375.                                                   size_t len)

ssl/packet_locl.h:380:5: Call
  378.           return 0;
  379.   
  380.       packet_forward(pkt, len);
             ^
  381.   
  382.       return 1;

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

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

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

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

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