forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5380719
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 parentaad0926 commit5380719
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1586 | 1586 |
| |
1587 | 1587 |
| |
1588 | 1588 |
| |
| 1589 | + | |
1589 | 1590 |
| |
1590 | 1591 |
| |
1591 | 1592 |
| |
| |||
1709 | 1710 |
| |
1710 | 1711 |
| |
1711 | 1712 |
| |
| 1713 | + | |
1712 | 1714 |
| |
1713 | 1715 |
| |
1714 | 1716 |
| |
| |||
1833 | 1835 |
| |
1834 | 1836 |
| |
1835 | 1837 |
| |
| 1838 | + | |
1836 | 1839 |
| |
1837 | 1840 |
| |
1838 | 1841 |
| |
|
0 commit comments
Comments
(0)