Re: BUG #17277: write past chunk when calling normalize() on an empty string
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: postgresql@zr40.nl, pgsql-bugs@lists.postgresql.org
Date: 2021-11-12T12:52:23Z
Lists: pgsql-bugs
On Wed, Nov 10, 2021 at 03:33:29PM +0900, Michael Paquier wrote: > That feels more natural this way. Still, I can see some perl modules > that would return false for such a case, by the way. The > normalization docs don't seem to mention that directly, except for the > stream-safe text format: > https://www.unicode.org/faq/normalization.html > https://unicode.org/reports/tr15/tr15-51.html I have expanded the tests, and fixed this one as of 098c1345. Thanks for the report, Matthijs! -- Michael
Commits
-
Fix buffer overrun in unicode string normalization with empty input
- 7653f6f5f53f 10.20 landed
- 56c5a069e04b 11.15 landed
- de343812b97a 12.10 landed
- 13c8adf90e9d 13.6 landed
- b609db7155d9 14.2 landed
- 098c13455666 15.0 landed