pgsql/src/backend/storage/file fd.c

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/storage/file fd.c
Date: 2001-04-03 04:07:03
Message-ID: 200104030407.f33473415743@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/04/03 00:07:02

Modified files:
src/backend/storage/file: fd.c

Log message:
Check for failure of malloc() and realloc() when allocating space for
VFD entries. On platforms where dereferencing a null pointer doesn't
lead to coredump, it's possible that this omission could have led to
unpleasant behavior like deleting the wrong file.

Browse pgsql-committers by date

  From Date Subject
Next Message Philip Warner - CVS 2001-04-03 08:53:00 pgsql/src/bin/pg_dump common.c pg_backup_archi ...
Previous Message Tom Lane 2001-04-03 02:31:52 pgsql/src/backend/storage/file fd.c