Fix type in test_escape test

Andres Freund <andres@anarazel.de>

Commit: 05abb0f8303a78921f7113bee1d72586142df99e
Author: Andres Freund <andres@anarazel.de>
Date: 2025-02-10T17:12:53Z
Releases: 17.3
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