pgsql-server/contrib/pg_autovacuum Tag: REL7_4 ...

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/contrib/pg_autovacuum Tag: REL7_4 ...
Date: 2003-12-01 23:14:32
Message-ID: 20031201231432.3AF6ED1D92C@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)svr1(dot)postgresql(dot)org 03/12/01 19:14:29

Modified files:
contrib/pg_autovacuum: Tag: REL7_4_STABLE pg_autovacuum.c

Log message:
I noticed in the 7.4 release that in contrib/pg_autovacuum, args->logfile is
not initialized if a log file is not specified on the command line. This
causes an immediate segfault on systems that fill allocated memory with some
value other than zero (my FreeBSD machine uses 0xD0).

Several crashes later I discovered that args->user, password, host, and port
are also used without being initialized.

This doesn't appear to be fixed in CVS and I came up empty on a mailing list
search -- hope it hasn't been reported already.

Craig Boston

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2003-12-01 23:15:47 pgsql-server/src/bin/initdb initdb.c
Previous Message Bruce Momjian 2003-12-01 23:13:07 pgsql-server/contrib/pg_autovacuum pg_autovacuum.c