Fix type in test_escape test

Andres Freund <andres@anarazel.de>

Commit: 4a6825c762112f085d6ee03bbce8e7abe2bf98e5
Author: Andres Freund <andres@anarazel.de>
Date: 2025-02-10T17:12:59Z
Releases: 14.16
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

Files

PathChange+/−
src/test/modules/test_escape/test_escape.c modified +1 −1