Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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.


pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group