postgres/src
Tom Lane b277a938ea Prevent corner-case core dump in rfree().
rfree() failed to cope with the case that pg_regcomp() had initialized the
regex_t struct but then failed to allocate any memory for re->re_guts (ie,
the first malloc call in pg_regcomp() failed).  It would try to touch the
guts struct anyway, and thus dump core.  This is a sufficiently narrow
corner case that it's not surprising it's never been seen in the field;
but still a bug is a bug, so patch all active branches.

Noted while investigating whether we need to call pg_regfree after a
failure return from pg_regcomp.  Other than this bug, it turns out we
don't, so adjust comments appropriately.
2012-07-15 13:28:32 -04:00
..
backend Prevent corner-case core dump in rfree(). 2012-07-15 13:28:32 -04:00
bin pg_dump: Fix verbosity level in LO progress messages 2012-06-19 17:26:44 -04:00
include Back-patch fix for extraction of fixed prefixes from regular expressions. 2012-07-10 18:00:55 -04:00
interfaces Update copyright year in forgotten places 2012-06-19 21:32:51 +03:00
makefiles Fix assorted issues with build and install paths containing spaces. 2011-06-14 16:24:45 -04:00
pl Fix GET DIAGNOSTICS for case of assignment to function's first variable. 2012-03-22 14:14:20 -04:00
port Don't try to trim "../" in join_path_components(). 2012-07-05 17:15:30 -04:00
template Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2 2007-09-26 00:32:46 +00:00
test Honor inputdir and outputdir when converting regression files. 2012-03-17 17:24:14 -04:00
timezone Update time zone data files to tzdata release 2012c. 2012-05-31 00:48:23 -04:00
tools Backpatch "Use the preferred version of xsubpp." 2011-11-28 07:46:15 -05:00
tutorial Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:12 +02:00
DEVELOPERS
Makefile Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
Makefile.global.in Back-patch creation of tar.bz2 tarball during "make dist". 2011-07-03 16:40:34 -04:00
Makefile.shlib Fix assorted issues with build and install paths containing spaces. 2011-06-14 16:24:45 -04:00
bcc32.mak
nls-global.mk
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00