postgresql/contrib/intarray
Tom Lane 9034a2d512 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 Update copyright for 2024 2024-01-03 20:49:05 -05: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
_int_bool.c Convert contrib/intarray's bqarr_in() to report errors softly 2022-12-28 10:00:12 -05:00
_int_gin.c
_int_gist.c Fix integer-overflow problem in intarray's g_int_decompress(). 2024-01-07 15:19:50 -05:00
_int_op.c
_int_selfuncs.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
_int_tool.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
_int.h Fix typos in comments 2023-05-02 12:23:08 +09:00
_intbig_gist.c Remove unnecessary pfree() in g_intbig_compress(). 2023-07-13 13:07:51 -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--1.3.sql
intarray--1.2.sql
intarray--1.3--1.4.sql Remove <@ from contrib/intarray's GiST operator classes. 2020-08-08 17:26:29 -04:00
intarray--1.4--1.5.sql Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
intarray.control Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
Makefile Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00