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

REL9_0_STABLE
Tom Lane 16 years ago
parent 8eac39780d
commit 0546906064
  1. 2
      contrib/pg_upgrade/controldata.c

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

Loading…
Cancel
Save