Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit05abb0f

Browse files
committed
Fix type in test_escape test
On machines where char is unsigned this could lead to option parsing loopingendlessly. 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-1094Backpatch-through: 13
1 parentdd3c1eb commit05abb0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/modules/test_escape/test_escape.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ int
740740
main(intargc,char*argv[])
741741
{
742742
pe_test_configtc= {0};
743-
charc;
743+
intc;
744744
intoption_index;
745745

746746
staticconststructoptionlong_options[]= {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp