Fix type in test_escape test
authorAndres Freund
Mon, 10 Feb 2025 17:09:23 +0000 (12:09 -0500)
committerAndres Freund
Mon, 10 Feb 2025 17:12:14 +0000 (12:12 -0500)
commit979205e47bdc094787b10142e84a7634f7c720dd
treefccbddb1d9058f1b581f0bad2188b55c8fa52499
parent32c34006b24bf7432c2d0f47da10492de7253d52
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
Security: CVE-2025-1094
Backpatch-through: 13
src/test/modules/test_escape/test_escape.c