postgresql/contrib/intarray
Tom Lane 1c7443521f 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 Don't fall off the end of perl functions 2018-05-27 09:08:42 -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 intarray: Prevent out-of-bound memory reads with gist__int_ops 2023-06-15 13:45:42 +09:00
_int_bool.c Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
_int_gin.c Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
_int_gist.c Fix integer-overflow problem in intarray's g_int_decompress(). 2024-01-07 15:19:50 -05:00
_int_op.c Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
_int_selfuncs.c Fix many typos and inconsistencies 2019-07-01 10:00:23 +09:00
_int_tool.c Fix intarray's GiST opclasses to not fail for empty arrays with <@. 2019-08-06 18:04:51 -04:00
_int.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
_intbig_gist.c Remove unnecessary pfree() in g_intbig_compress(). 2023-07-13 13:08:33 -04:00
.gitignore
intarray--1.0--1.1.sql
intarray--1.1--1.2.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
intarray--1.2.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
intarray--unpackaged--1.0.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
intarray.control Handle contrib's GIN/GIST support function signature changes honestly. 2016-06-09 16:44:25 -04:00
Makefile Handle contrib's GIN/GIST support function signature changes honestly. 2016-06-09 16:44:25 -04:00