crypto/asn1/asn1_lib.c:178: error: INTEGER_OVERFLOW_L2
  ([0, min(8, `**pp`)] - 1):unsigned32.
Showing all 4 steps of the trace


crypto/asn1/asn1_lib.c:152:1: <LHS trace>
150.   }
151.   
152. > static int asn1_get_length(const unsigned char **pp, int *inf, long *rl,
153.                              int max)
154.   {

crypto/asn1/asn1_lib.c:152:1: Parameter `max`
150.   }
151.   
152. > static int asn1_get_length(const unsigned char **pp, int *inf, long *rl,
153.                              int max)
154.   {

crypto/asn1/asn1_lib.c:159:9: Assignment
157.       unsigned int i;
158.   
159.       if (max-- < 1)
               ^
160.           return (0);
161.       if (*p == 0x80) {

crypto/asn1/asn1_lib.c:178:20: Binary operation: ([0, min(8, **pp)] - 1):unsigned32
176.               if (i > sizeof(long))
177.                   return 0;
178.               while (i-- > 0) {
                          ^
179.                   ret <<= 8L;
180.                   ret |= *(p++);
