]> granicus.if.org Git - postgresql/commit
Check for failure of malloc() and realloc() when allocating space for
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Apr 2001 04:07:02 +0000 (04:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Apr 2001 04:07:02 +0000 (04:07 +0000)
commit08bf4d797bc5f5143bd025895a6d618b7ca9fb12
tree8bfae3013650a3d1691cceeb9cfe953313c3285a
parent6cc6f18d1535bb5301658243b01d35d6b7a01eeb
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.
src/backend/storage/file/fd.c