Fix type in test_escape test

Andres Freund <andres@anarazel.de>

Commit: 41343f84052eb53a900ea464a8ce16a548cab901
Author: Andres Freund <andres@anarazel.de>
Date: 2025-02-10T17:12:56Z
Releases: 16.7
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