pgsql: Avoid bizarre meson behavior with backslashes in command argumen - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Avoid bizarre meson behavior with backslashes in command argumen
Date
Msg-id E1tAY5L-001Kka-3E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Avoid bizarre meson behavior with backslashes in command arguments.

meson makes the backslashes in text2macro.pl's --strip argument
into forward slashes, effectively disabling comment stripping.
That hasn't caused us issues before, but it breaks the test case
for b7e3a52a8.  We don't really need the pattern to be adjustable,
so just hard-wire it into the script instead.

Context: https://github.com/mesonbuild/meson/issues/1564
Security: CVE-2024-10979

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/88269df4da032bb1536d4291a13f3af4e1e599ba

Modified Files
--------------
src/pl/plperl/GNUmakefile   | 2 +-
src/pl/plperl/meson.build   | 2 +-
src/pl/plperl/text2macro.pl | 8 +++++---
3 files changed, 7 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add needed .gitignore files in back branches.
Next
From: Tom Lane
Date:
Subject: pgsql: Avoid bizarre meson behavior with backslashes in command argumen