projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eac397
)
Remove another unsafe use of random data as a format string.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 14 May 2010 00:39:51 +0000
(
00:39
+0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 14 May 2010 00:39:51 +0000
(
00:39
+0000)
contrib/pg_upgrade/controldata.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/controldata.c
b/contrib/pg_upgrade/controldata.c
index 78d62c76f4d0262361ae0d44de203e72dc9acc85..0011c20bf1febfdffc5ab9cc59f824751a88d99f 100644
(file)
--- a/
contrib/pg_upgrade/controldata.c
+++ b/
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))
{
if (ctx->debug)
- fp
rintf(ctx->debug_fd, bufin
);
+ fp
uts(bufin, ctx->debug_fd
);
#ifdef WIN32
/*