Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: ff6c8229282afd10599321a6055635306fe1c6fd
https://github.com/pgjdbc/pgjdbc/commit/ff6c8229282afd10599321a6055635306fe1c6fd
Author: Brett Okken <brett(dot)okken(dot)os(at)gmail(dot)com>
Date: 2021-01-13 (Wed, 13 Jan 2021)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/QueryExecutorBase.java
M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
Log Message:
-----------
fix: potential overflow when reading cache sizes (#2009)
When creating LruCache instance, integer arithmetic is used to convert
from megabytes to bytes, even though LruCache takes a long value.