ssl/statem/statem_srvr.c:3484: error: INTEGER_OVERFLOW_L2
  ([1, +oo] - 2):unsigned64 by call to `PACKET_copy_bytes`.
Showing all 16 steps of the trace


ssl/statem/statem_srvr.c:3482:18: Call
3480.                PACKET_remaining(&sslv2ciphers) > 0;
3481.                raw += TLS_CIPHER_LEN) {
3482.               if (!PACKET_get_1(&sslv2ciphers, &leadbyte)
                         ^
3483.                       || (leadbyte == 0
3484.                           && !PACKET_copy_bytes(&sslv2ciphers, raw,

ssl/packet_locl.h:271:8: Parameter `pkt->remaining`
  269.   
  270.   /* Get 1 byte from |pkt| and store the value in |*data| */
  271.   __owur static ossl_inline int PACKET_get_1(PACKET *pkt, unsigned int *data)
                ^
  272.   {
  273.       if (!PACKET_peek_1(pkt, data))

ssl/packet_locl.h:273:10: Call
  271.   __owur static ossl_inline int PACKET_get_1(PACKET *pkt, unsigned int *data)
  272.   {
  273.       if (!PACKET_peek_1(pkt, data))
                  ^
  274.           return 0;
  275.   

ssl/packet_locl.h:259:8: Parameter `pkt->remaining`
    257.   
    258.   /* Peek ahead at 1 byte from |pkt| and store the value in |*data| */
    259.   __owur static ossl_inline int PACKET_peek_1(const PACKET *pkt,
                  ^
    260.                                               unsigned int *data)
    261.   {

ssl/statem/statem_srvr.c:3482:18: Call
3480.                PACKET_remaining(&sslv2ciphers) > 0;
3481.                raw += TLS_CIPHER_LEN) {
3482.               if (!PACKET_get_1(&sslv2ciphers, &leadbyte)
                         ^
3483.                       || (leadbyte == 0
3484.                           && !PACKET_copy_bytes(&sslv2ciphers, raw,

ssl/packet_locl.h:271:8: Parameter `pkt->remaining`
  269.   
  270.   /* Get 1 byte from |pkt| and store the value in |*data| */
  271.   __owur static ossl_inline int PACKET_get_1(PACKET *pkt, unsigned int *data)
                ^
  272.   {
  273.       if (!PACKET_peek_1(pkt, data))

ssl/packet_locl.h:273:10: Call
  271.   __owur static ossl_inline int PACKET_get_1(PACKET *pkt, unsigned int *data)
  272.   {
  273.       if (!PACKET_peek_1(pkt, data))
                  ^
  274.           return 0;
  275.   

ssl/packet_locl.h:259:8: Parameter `pkt->remaining`
    257.   
    258.   /* Peek ahead at 1 byte from |pkt| and store the value in |*data| */
    259.   __owur static ossl_inline int PACKET_peek_1(const PACKET *pkt,
                  ^
    260.                                               unsigned int *data)
    261.   {

ssl/statem/statem_srvr.c:3484:29: Call
3482.               if (!PACKET_get_1(&sslv2ciphers, &leadbyte)
3483.                       || (leadbyte == 0
3484.                           && !PACKET_copy_bytes(&sslv2ciphers, raw,
                                    ^
3485.                                                 TLS_CIPHER_LEN))
3486.                       || (leadbyte != 0

ssl/packet_locl.h:379:8: Parameter `len`
  377.    * The caller is responsible for ensuring that |data| can hold |len| bytes.
  378.    */
  379.   __owur static ossl_inline int PACKET_copy_bytes(PACKET *pkt,
                ^
  380.                                                   unsigned char *data, size_t len)
  381.   {

ssl/packet_locl.h:385:5: Call
  383.           return 0;
  384.   
  385.       packet_forward(pkt, len);
             ^
  386.   
  387.       return 1;

ssl/packet_locl.h:33:1: <LHS trace>
31.   
32.   /* Internal unchecked shorthand; don't use outside this file. */
33. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
34.   {
35.       pkt->curr += len;

ssl/packet_locl.h:33:1: Parameter `pkt->remaining`
    31.   
    32.   /* Internal unchecked shorthand; don't use outside this file. */
    33. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
    34.   {
    35.       pkt->curr += len;

ssl/packet_locl.h:33:1: <RHS trace>
31.   
32.   /* Internal unchecked shorthand; don't use outside this file. */
33. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
34.   {
35.       pkt->curr += len;

ssl/packet_locl.h:33:1: Parameter `len`
    31.   
    32.   /* Internal unchecked shorthand; don't use outside this file. */
    33. > static ossl_inline void packet_forward(PACKET *pkt, size_t len)
    34.   {
    35.       pkt->curr += len;

ssl/packet_locl.h:36:5: Binary operation: ([1, +oo] - 2):unsigned64 by call to `PACKET_copy_bytes` 
    34.   {
    35.       pkt->curr += len;
    36.       pkt->remaining -= len;
              ^
    37.   }
    38.   
