mirror of
https://github.com/postgres/postgres.git
synced 2026-02-23 01:40:33 -05:00
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
This commit is contained in:
parent
57bda2508f
commit
a085fa7316
1 changed files with 1 additions and 1 deletions
|
|
@ -740,7 +740,7 @@ int
|
|||
main(int argc, char *argv[])
|
||||
{
|
||||
pe_test_config tc = {0};
|
||||
char c;
|
||||
int c;
|
||||
int option_index;
|
||||
|
||||
static const struct option long_options[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue