pgsql: intarray: Prevent out-of-bound memory reads with gist__int_ops

2023-06-14 Thread Michael Paquier
intarray: Prevent out-of-bound memory reads with gist__int_ops As gist__int_ops stands in intarray, it is possible to store GiST entries for leaf pages that can cause corruptions when decompressed. Leaf nodes are stored as decompressed all the time by the compression method, and the decompression

pgsql: intarray: Prevent out-of-bound memory reads with gist__int_ops

2023-06-14 Thread Michael Paquier
intarray: Prevent out-of-bound memory reads with gist__int_ops As gist__int_ops stands in intarray, it is possible to store GiST entries for leaf pages that can cause corruptions when decompressed. Leaf nodes are stored as decompressed all the time by the compression method, and the decompression

pgsql: intarray: Prevent out-of-bound memory reads with gist__int_ops

2023-06-14 Thread Michael Paquier
intarray: Prevent out-of-bound memory reads with gist__int_ops As gist__int_ops stands in intarray, it is possible to store GiST entries for leaf pages that can cause corruptions when decompressed. Leaf nodes are stored as decompressed all the time by the compression method, and the decompression

pgsql: intarray: Prevent out-of-bound memory reads with gist__int_ops

2023-06-14 Thread Michael Paquier
intarray: Prevent out-of-bound memory reads with gist__int_ops As gist__int_ops stands in intarray, it is possible to store GiST entries for leaf pages that can cause corruptions when decompressed. Leaf nodes are stored as decompressed all the time by the compression method, and the decompression

pgsql: intarray: Prevent out-of-bound memory reads with gist__int_ops

2023-06-14 Thread Michael Paquier
intarray: Prevent out-of-bound memory reads with gist__int_ops As gist__int_ops stands in intarray, it is possible to store GiST entries for leaf pages that can cause corruptions when decompressed. Leaf nodes are stored as decompressed all the time by the compression method, and the decompression

pgsql: intarray: Prevent out-of-bound memory reads with gist__int_ops

2023-06-14 Thread Michael Paquier
intarray: Prevent out-of-bound memory reads with gist__int_ops As gist__int_ops stands in intarray, it is possible to store GiST entries for leaf pages that can cause corruptions when decompressed. Leaf nodes are stored as decompressed all the time by the compression method, and the decompression