Commit 05469060 authored by Tom Lane's avatar Tom Lane

Remove another unsafe use of random data as a format string.

parent 8eac3978
...@@ -88,7 +88,7 @@ get_control_data(migratorContext *ctx, ClusterInfo *cluster, bool live_check) ...@@ -88,7 +88,7 @@ get_control_data(migratorContext *ctx, ClusterInfo *cluster, bool live_check)
while (fgets(bufin, sizeof(bufin), output)) while (fgets(bufin, sizeof(bufin), output))
{ {
if (ctx->debug) if (ctx->debug)
fprintf(ctx->debug_fd, bufin); fputs(bufin, ctx->debug_fd);
#ifdef WIN32 #ifdef WIN32
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment