pgsql: Fix crash when reading 'timezone = unknown' from postgresql.conf

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix crash when reading 'timezone = unknown' from postgresql.conf
Date: 2005-08-08 23:39:14
Message-ID: 20050808233914.AD7075299E@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix crash when reading 'timezone = unknown' from postgresql.conf during
SIGHUP; it's not OK for an assign_hook to return a non-malloc'd string.
Problem was introduced during timezone library rewrite.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
variable.c (r1.105.4.1 -> r1.105.4.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/variable.c.diff?r1=1.105.4.1&r2=1.105.4.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-08-09 04:50:45 pgsql: Clarify wal_sync_method options in documentation.
Previous Message Tom Lane 2005-08-08 23:39:02 pgsql: Fix crash when reading 'timezone = unknown' from postgresql.conf