Fix type in test_escape test

Andres Freund <andres@anarazel.de>

Commit: a085fa73169d6c0df079cfa4ddfeade812368a64
Author: Andres Freund <andres@anarazel.de>
Date: 2025-02-10T17:12:58Z
Releases: 15.11
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