pgsql: Prevent integer overflows in array subscripting calculations.

2021-05-13 Thread Tom Lane
Prevent integer overflows in array subscripting calculations. While we were (mostly) careful about ensuring that the dimensions of arrays aren't large enough to cause integer overflow, the lower bound values were generally not checked. This allows situations where lower_bound + dimension overflow

pgsql: Prevent integer overflows in array subscripting calculations.

2021-05-13 Thread Tom Lane
Prevent integer overflows in array subscripting calculations. While we were (mostly) careful about ensuring that the dimensions of arrays aren't large enough to cause integer overflow, the lower bound values were generally not checked. This allows situations where lower_bound + dimension overflow

pgsql: Prevent integer overflows in array subscripting calculations.

2021-05-13 Thread Tom Lane
Prevent integer overflows in array subscripting calculations. While we were (mostly) careful about ensuring that the dimensions of arrays aren't large enough to cause integer overflow, the lower bound values were generally not checked. This allows situations where lower_bound + dimension overflow

pgsql: Prevent integer overflows in array subscripting calculations.

2021-05-13 Thread Tom Lane
Prevent integer overflows in array subscripting calculations. While we were (mostly) careful about ensuring that the dimensions of arrays aren't large enough to cause integer overflow, the lower bound values were generally not checked. This allows situations where lower_bound + dimension overflow

pgsql: Prevent integer overflows in array subscripting calculations.

2021-05-13 Thread Tom Lane
Prevent integer overflows in array subscripting calculations. While we were (mostly) careful about ensuring that the dimensions of arrays aren't large enough to cause integer overflow, the lower bound values were generally not checked. This allows situations where lower_bound + dimension overflow

pgsql: Prevent integer overflows in array subscripting calculations.

2021-05-13 Thread Tom Lane
Prevent integer overflows in array subscripting calculations. While we were (mostly) careful about ensuring that the dimensions of arrays aren't large enough to cause integer overflow, the lower bound values were generally not checked. This allows situations where lower_bound + dimension overflow