-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Extensions
-
Storage Engines - Foundations
-
None
-
1
Unintentional integer overflow
The expression's value may not be what the programmer intended, because the expression is evaluated using a narrow (i.e. few bits) integer type. An integer overflow occurs, with the result converted to a wider integer type
/ext/test/key_provider/key_provider.c:202: OVERFLOW_BEFORE_WIDEN 202305 Potentially overflowing expression "kp->key_expires * 1000000" with type "int" (32 bits, signed) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "uint64_t const" (64 bits, unsigned).