diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-09-03 12:31:14 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-09-03 12:31:14 +0900 |
commit | 604d20679e20c72a36ba267e67bec356a79d8448 (patch) | |
tree | 4f43ab8aef61f884663e33a275dceaaf2e0fa199 /src/backend/executor/nodeHashjoin.c | |
parent | 3080f8f6105ec5d6c319386b9d7a0d686dab4940 (diff) | |
download | postgresql-604d20679e20c72a36ba267e67bec356a79d8448.tar.gz postgresql-604d20679e20c72a36ba267e67bec356a79d8448.zip |
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
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions