ssl/t1_lib.c:1849: error: INTEGER_OVERFLOW_L2
  ([2, +oo] - 18):unsigned64 by call to `PACKET_get_bytes`.
Showing all 9 steps of the trace


ssl/t1_lib.c:1846:9: Assignment
1844.   
1845.       if (TLS1_get_client_version(s) >= TLS1_2_VERSION) {
1846.           const size_t len1 = sizeof(kSafariExtensionsBlock);
                ^
1847.           const size_t len2 = sizeof(kSafariTLS12ExtensionsBlock);
1848.   

ssl/t1_lib.c:1849:14: Call
1847.           const size_t len2 = sizeof(kSafariTLS12ExtensionsBlock);
1848.   
1849.           if (!PACKET_get_bytes(&tmppkt, &eblock1, len1)
                     ^
1850.                   || !PACKET_get_bytes(&tmppkt, &eblock2, len2)
1851.                   || PACKET_remaining(&tmppkt))

ssl/packet_locl.h:344:8: Parameter `len`
  342.    * freed
  343.    */
  344.   __owur static ossl_inline int PACKET_get_bytes(PACKET *pkt,
                ^
  345.                                                  const unsigned char **data,
  346.                                                  size_t len)

ssl/packet_locl.h:351:5: Call
  349.           return 0;
  350.   
  351.       packet_forward(pkt, len);
             ^
  352.   
  353.       return 1;

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

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

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

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

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