pgsql: Fix buffer overrun in unicode string normalization with empty in

2021-11-10 Thread Michael Paquier
Fix buffer overrun in unicode string normalization with empty input PostgreSQL 13 and newer versions are directly impacted by that through the SQL function normalize(), which would cause a call of this function to write one byte past its allocation if using in input an empty string after recomposi

pgsql: Fix buffer overrun in unicode string normalization with empty in

2021-11-10 Thread Michael Paquier
Fix buffer overrun in unicode string normalization with empty input PostgreSQL 13 and newer versions are directly impacted by that through the SQL function normalize(), which would cause a call of this function to write one byte past its allocation if using in input an empty string after recomposi

pgsql: Fix buffer overrun in unicode string normalization with empty in

2021-11-10 Thread Michael Paquier
Fix buffer overrun in unicode string normalization with empty input PostgreSQL 13 and newer versions are directly impacted by that through the SQL function normalize(), which would cause a call of this function to write one byte past its allocation if using in input an empty string after recomposi

pgsql: Fix buffer overrun in unicode string normalization with empty in

2021-11-10 Thread Michael Paquier
Fix buffer overrun in unicode string normalization with empty input PostgreSQL 13 and newer versions are directly impacted by that through the SQL function normalize(), which would cause a call of this function to write one byte past its allocation if using in input an empty string after recomposi

pgsql: Fix buffer overrun in unicode string normalization with empty in

2021-11-10 Thread Michael Paquier
Fix buffer overrun in unicode string normalization with empty input PostgreSQL 13 and newer versions are directly impacted by that through the SQL function normalize(), which would cause a call of this function to write one byte past its allocation if using in input an empty string after recomposi

pgsql: Fix buffer overrun in unicode string normalization with empty in

2021-11-10 Thread Michael Paquier
Fix buffer overrun in unicode string normalization with empty input PostgreSQL 13 and newer versions are directly impacted by that through the SQL function normalize(), which would cause a call of this function to write one byte past its allocation if using in input an empty string after recomposi