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

Commit0546906

Browse files
committed
Remove another unsafe use of random data as a format string.
1 parent8eac397 commit0546906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/pg_upgrade/controldata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ get_control_data(migratorContext *ctx, ClusterInfo *cluster, bool live_check)
8888
while (fgets(bufin,sizeof(bufin),output))
8989
{
9090
if (ctx->debug)
91-
fprintf(ctx->debug_fd,bufin);
91+
fputs(bufin,ctx->debug_fd);
9292

9393
#ifdefWIN32
9494
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp