Skip to content

Commit 0546906

Browse files
committed
Remove another unsafe use of random data as a format string.
1 parent 8eac397 commit 0546906

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
#ifdef WIN32
9494
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy