test/sslapitest.c:4614: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 34):unsigned64 by call to `PACKET_forward`.
Showing all 14 steps of the trace


test/sslapitest.c:4608:10: Call
4606.       memset(&pkt3, 0, sizeof(pkt3));
4607.   
4608.       if (!TEST_true( PACKET_buf_init( &pkt, data, len ) )
                 ^
4609.                  /* Skip the record header */
4610.               || !PACKET_forward(&pkt, SSL3_RT_HEADER_LENGTH)

ssl/packet_locl.h:68:8: Parameter `pkt->remaining`
  66.    * is being used.
  67.    */
  68.   __owur static ossl_inline int PACKET_buf_init(PACKET *pkt,
               ^
  69.                                                 const unsigned char *buf,
  70.                                                 size_t len)

test/sslapitest.c:4610:17: Call
4608.       if (!TEST_true( PACKET_buf_init( &pkt, data, len ) )
4609.                  /* Skip the record header */
4610.               || !PACKET_forward(&pkt, SSL3_RT_HEADER_LENGTH)
                        ^
4611.                  /* Skip the handshake message header */
4612.               || !TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH))

ssl/packet_locl.h:463:8: Parameter `len`
  461.   
  462.   /* Move the current reading position forward |len| bytes */
  463.   __owur static ossl_inline int PACKET_forward(PACKET *pkt, size_t len)
                ^
  464.   {
  465.       if (PACKET_remaining(pkt) < len)

test/sslapitest.c:4612:17: Call
4610.               || !PACKET_forward(&pkt, SSL3_RT_HEADER_LENGTH)
4611.                  /* Skip the handshake message header */
4612.               || !TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH))
                        ^
4613.                  /* Skip client version and random */
4614.               || !TEST_true(PACKET_forward(&pkt, CLIENT_VERSION_LEN

ssl/packet_locl.h:463:8: Parameter `len`
  461.   
  462.   /* Move the current reading position forward |len| bytes */
  463.   __owur static ossl_inline int PACKET_forward(PACKET *pkt, size_t len)
                ^
  464.   {
  465.       if (PACKET_remaining(pkt) < len)

test/sslapitest.c:4614:17: Call
4612.               || !TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH))
4613.                  /* Skip client version and random */
4614.               || !TEST_true(PACKET_forward(&pkt, CLIENT_VERSION_LEN
                        ^
4615.                                                  + SSL3_RANDOM_SIZE))
4616.                  /* Skip session id */

ssl/packet_locl.h:463:8: Parameter `len`
  461.   
  462.   /* Move the current reading position forward |len| bytes */
  463.   __owur static ossl_inline int PACKET_forward(PACKET *pkt, size_t len)
                ^
  464.   {
  465.       if (PACKET_remaining(pkt) < len)

ssl/packet_locl.h:468:5: Call
  466.           return 0;
  467.   
  468.       packet_forward(pkt, len);
             ^
  469.   
  470.       return 1;

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

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

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

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

ssl/packet_locl.h:32:5: Binary operation: ([0, +oo] - 34):unsigned64 by call to `PACKET_forward` 
    30.   {
    31.       pkt->curr += len;
    32.       pkt->remaining -= len;
              ^
    33.   }
    34.   
