postgresql/contrib/intarray
Tom Lane 9e7432fafc Fix integer-overflow problem in intarray's g_int_decompress().
An array element equal to INT_MAX gave this code indigestion,
causing an infinite loop that surely ended in SIGSEGV.  We fixed
some nearby problems awhile ago (cf 757c5182f) but missed this.

Report and diagnosis by Alexander Lakhin (bug #18273); patch by me

Discussion: https://postgr.es/m/18273-9a832d1da122600c@postgresql.org
2024-01-07 15:19:50 -05:00
..
bench Use perl warnings pragma consistently 2020-04-13 11:55:45 -04:00
data Fix integer-overflow problem in intarray's g_int_decompress(). 2024-01-07 15:19:50 -05:00
expected Fix integer-overflow problem in intarray's g_int_decompress(). 2024-01-07 15:19:50 -05:00
sql Fix integer-overflow problem in intarray's g_int_decompress(). 2024-01-07 15:19:50 -05:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
Makefile Implement operator class parameters 2020-03-30 19:17:23 +03:00
_int.h Implement operator class parameters 2020-03-30 19:17:23 +03:00
_int_bool.c Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
_int_gin.c Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
_int_gist.c Fix integer-overflow problem in intarray's g_int_decompress(). 2024-01-07 15:19:50 -05:00
_int_op.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
_int_selfuncs.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
_int_tool.c Implement operator class parameters 2020-03-30 19:17:23 +03:00
_intbig_gist.c Remove unnecessary pfree() in g_intbig_compress(). 2023-07-13 13:08:28 -04:00
intarray--1.0--1.1.sql Add selectivity estimation functions for intarray operators. 2015-07-21 20:59:24 +03:00
intarray--1.1--1.2.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
intarray--1.2--1.3.sql Implement operator class parameters 2020-03-30 19:17:23 +03:00
intarray--1.2.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
intarray.control Implement operator class parameters 2020-03-30 19:17:23 +03:00