mirror of
https://github.com/postgres/postgres.git
synced 2025-05-26 18:17:33 +03: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
dd3c1eb38e
commit
05abb0f830
@ -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…
x
Reference in New Issue
Block a user