1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

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

This commit is contained in:
Tom Lane
2010-05-14 00:39:51 +00:00
parent 8eac39780d
commit 0546906064

View File

@ -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
/* /*