forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit604d206
committed
Fix memory leak with lower, upper and initcap with ICU-provided collations
The leak happens in str_tolower, str_toupper and str_initcap, which areused in several places including their equivalent SQL-level functions,and can only be triggered when using an ICU-provided collation whenconverting the input string.b615920 fixed a similar leak. Backpatch down 10 where ICU collationshave been introduced.Author: Konstantin KnizhnikDiscussion:https://postgr.es/m/94c0ad0a-cbc2-e4a3-7829-2bdeaf9146db@postgrespro.ruBackpatch-through: 101 parent3080f8f commit604d206
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1561 | 1561 | | |
1562 | 1562 | | |
1563 | 1563 | | |
| 1564 | + | |
1564 | 1565 | | |
1565 | 1566 | | |
1566 | 1567 | | |
| |||
1685 | 1686 | | |
1686 | 1687 | | |
1687 | 1688 | | |
| 1689 | + | |
1688 | 1690 | | |
1689 | 1691 | | |
1690 | 1692 | | |
| |||
1810 | 1812 | | |
1811 | 1813 | | |
1812 | 1814 | | |
| 1815 | + | |
1813 | 1816 | | |
1814 | 1817 | | |
1815 | 1818 | | |
| |||
0 commit comments
Comments
(0)