postgresql/src
Heikki Linnakangas f650387b50 Fix dangling smgr_owner pointer when a fake relcache entry is freed.
A fake relcache entry can "own" a SmgrRelation object, like a regular
relcache entry. But when it was free'd, the owner field in SmgrRelation
was not cleared, so it was left pointing to free'd memory.

Amazingly this apparently hasn't caused crashes in practice, or we would've
heard about it earlier. Andres found this with Valgrind.

Report and fix by Andres Freund, with minor modifications by me. Backpatch
to all supported versions.
2014-03-07 13:29:36 +02:00
..
backend Fix dangling smgr_owner pointer when a fake relcache entry is freed. 2014-03-07 13:29:36 +02:00
bin Translation updates 2014-02-17 16:56:04 -05:00
include Fix dangling smgr_owner pointer when a fake relcache entry is freed. 2014-03-07 13:29:36 +02:00
interfaces Translation updates 2014-02-17 16:56:04 -05:00
makefiles Don't use deprecated dllwrap on Cygwin. 2014-02-01 16:13:46 -05:00
pl Translation updates 2014-02-17 16:56:04 -05:00
port Stamp 9.2.7. 2014-02-17 14:38:15 -05:00
template Remove BSD/OS (BSDi) port. There are no known users upgrading to 2012-05-03 10:58:44 -04:00
test Prevent potential overruns of fixed-size buffers. 2014-02-17 11:20:27 -05:00
timezone Prevent potential overruns of fixed-size buffers. 2014-02-17 11:20:27 -05:00
tools Disable RandomizedBaseAddress on MSVC builds 2014-02-18 14:50:19 +01:00
tutorial Modernize string literal syntax in tutorial example. 2013-01-19 17:20:56 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Revert "Backpatch pgxs vpath build and installation fixes (v2)" 2013-10-07 22:37:26 -04:00
Makefile.shlib fix whitespace 2014-02-01 16:30:18 -05:00
nls-global.mk Lots of doc corrections. 2012-04-23 22:43:09 -04:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00