pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix memory leak with lower, upper and initcap with ICU-provided 4+ messages / 1 participants [nested] [flat]
* pgsql: Fix memory leak with lower, upper and initcap with ICU-provided @ 2019-09-03 03:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2019-09-03 03:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix memory leak with lower, upper and initcap with ICU-provided collations The leak happens in str_tolower, str_toupper and str_initcap, which are used in several places including their equivalent SQL-level functions, and can only be triggered when using an ICU-provided collation when converting the input string. b615920 fixed a similar leak. Backpatch down 10 where ICU collations have been introduced. Author: Konstantin Knizhnik Discussion: https://postgr.es/m/94c0ad0a-cbc2-e4a3-7829-2bdeaf9146db@postgrespro.ru Backpatch-through: 10 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/604d20679e20c72a36ba267e67bec356a79d8448 Modified Files -------------- src/backend/utils/adt/formatting.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix memory leak with lower, upper and initcap with ICU-provided @ 2019-09-03 03:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2019-09-03 03:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix memory leak with lower, upper and initcap with ICU-provided collations The leak happens in str_tolower, str_toupper and str_initcap, which are used in several places including their equivalent SQL-level functions, and can only be triggered when using an ICU-provided collation when converting the input string. b615920 fixed a similar leak. Backpatch down 10 where ICU collations have been introduced. Author: Konstantin Knizhnik Discussion: https://postgr.es/m/94c0ad0a-cbc2-e4a3-7829-2bdeaf9146db@postgrespro.ru Backpatch-through: 10 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f967a1fda89b8b96b363109af21d521ed9d50877 Modified Files -------------- src/backend/utils/adt/formatting.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix memory leak with lower, upper and initcap with ICU-provided @ 2019-09-03 03:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2019-09-03 03:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix memory leak with lower, upper and initcap with ICU-provided collations The leak happens in str_tolower, str_toupper and str_initcap, which are used in several places including their equivalent SQL-level functions, and can only be triggered when using an ICU-provided collation when converting the input string. b615920 fixed a similar leak. Backpatch down 10 where ICU collations have been introduced. Author: Konstantin Knizhnik Discussion: https://postgr.es/m/94c0ad0a-cbc2-e4a3-7829-2bdeaf9146db@postgrespro.ru Backpatch-through: 10 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5380719f931a101a6e83efc7a1664e42bd6bf6c3 Modified Files -------------- src/backend/utils/adt/formatting.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix memory leak with lower, upper and initcap with ICU-provided @ 2019-09-03 03:32 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2019-09-03 03:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix memory leak with lower, upper and initcap with ICU-provided collations The leak happens in str_tolower, str_toupper and str_initcap, which are used in several places including their equivalent SQL-level functions, and can only be triggered when using an ICU-provided collation when converting the input string. b615920 fixed a similar leak. Backpatch down 10 where ICU collations have been introduced. Author: Konstantin Knizhnik Discussion: https://postgr.es/m/94c0ad0a-cbc2-e4a3-7829-2bdeaf9146db@postgrespro.ru Backpatch-through: 10 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3a54eb1a383411765deb66e6081568ae6f8d9132 Modified Files -------------- src/backend/utils/adt/formatting.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2019-09-03 03:32 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-09-03 03:32 pgsql: Fix memory leak with lower, upper and initcap with ICU-provided Michael Paquier <michael@paquier.xyz> 2019-09-03 03:32 pgsql: Fix memory leak with lower, upper and initcap with ICU-provided Michael Paquier <michael@paquier.xyz> 2019-09-03 03:32 pgsql: Fix memory leak with lower, upper and initcap with ICU-provided Michael Paquier <michael@paquier.xyz> 2019-09-03 03:32 pgsql: Fix memory leak with lower, upper and initcap with ICU-provided Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox