Thread: pgsql: Fix type in test_escape test

pgsql: Fix type in test_escape test

From
Andres Freund
Date:
Fix type in test_escape test

On machines where char is unsigned this could lead to option parsing looping
endlessly. It's also too narrow a type on other hardware.

Found via Tom Lane's monitoring of the buildfarm.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Security: CVE-2025-1094
Backpatch-through: 13

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4a6825c762112f085d6ee03bbce8e7abe2bf98e5

Modified Files
--------------
src/test/modules/test_escape/test_escape.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)