pgsql: Detect integer overflow while computing new array dimensions.

2023-11-09 Thread Tom Lane
Detect integer overflow while computing new array dimensions. array_set_element() and related functions allow an array to be enlarged by assigning to subscripts outside the current array bounds. While these places were careful to check that the new bounds are allowable, they neglected to consider

pgsql: Detect integer overflow while computing new array dimensions.

2023-11-09 Thread Tom Lane
Detect integer overflow while computing new array dimensions. array_set_element() and related functions allow an array to be enlarged by assigning to subscripts outside the current array bounds. While these places were careful to check that the new bounds are allowable, they neglected to consider

pgsql: Detect integer overflow while computing new array dimensions.

2023-11-09 Thread Tom Lane
Detect integer overflow while computing new array dimensions. array_set_element() and related functions allow an array to be enlarged by assigning to subscripts outside the current array bounds. While these places were careful to check that the new bounds are allowable, they neglected to consider

pgsql: Detect integer overflow while computing new array dimensions.

2023-11-09 Thread Tom Lane
Detect integer overflow while computing new array dimensions. array_set_element() and related functions allow an array to be enlarged by assigning to subscripts outside the current array bounds. While these places were careful to check that the new bounds are allowable, they neglected to consider

pgsql: Detect integer overflow while computing new array dimensions.

2023-11-09 Thread Tom Lane
Detect integer overflow while computing new array dimensions. array_set_element() and related functions allow an array to be enlarged by assigning to subscripts outside the current array bounds. While these places were careful to check that the new bounds are allowable, they neglected to consider

pgsql: Detect integer overflow while computing new array dimensions.

2023-11-09 Thread Tom Lane
Detect integer overflow while computing new array dimensions. array_set_element() and related functions allow an array to be enlarged by assigning to subscripts outside the current array bounds. While these places were careful to check that the new bounds are allowable, they neglected to consider

pgsql: Detect integer overflow while computing new array dimensions.

2023-11-09 Thread Tom Lane
Detect integer overflow while computing new array dimensions. array_set_element() and related functions allow an array to be enlarged by assigning to subscripts outside the current array bounds. While these places were careful to check that the new bounds are allowable, they neglected to consider