postgresql/src
Tom Lane 73dc003bee Add missing error check in regexp parser.
parseqatom() failed to check for an error return (NULL result) from its
recursive call to parsebranch(), and in consequence could crash with a
null-pointer dereference after an error return.  This bug has been there
since day one, but wasn't noticed before, probably because most error cases
in parsebranch() didn't actually lead to returning NULL.  Add the missing
error check, and also tweak parsebranch() to exit in a less indirect
fashion after a call to parseqatom() fails.

Report by Tomasz Karlik, fix by me.
2013-02-27 10:40:03 -05:00
..
backend Add missing error check in regexp parser. 2013-02-27 10:40:03 -05:00
bin Only quote libpq connection string values that need quoting. 2013-02-25 19:53:04 +02:00
common Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
include Install headers from the new src/include/common subdirectory. 2013-02-26 15:27:30 -05:00
interfaces Remove the check for COPY TO STDIN and COPY FROM STDOUT from ecpg. 2013-02-26 19:33:15 +02:00
makefiles Blind attempt at fixing the non-MSVC Windows builds 2013-02-22 11:51:15 -03:00
pl Invent pre-commit/pre-prepare/pre-subcommit events for xact callbacks. 2013-02-14 20:35:08 -05:00
port Warn about initdb using mount-points 2013-02-16 18:52:50 -05:00
template Remove _FORTIFY_SOURCE 2012-10-10 21:42:38 -04:00
test Fix CVE-2013-0255 properly. 2013-02-13 16:20:01 -05:00
timezone Add new timezone abbrevation "FET". 2013-01-14 14:45:40 -05:00
tools Redo MSVC build implementation for pg_xlogdump. 2013-02-25 12:00:53 -05:00
tutorial Modernize string literal syntax in tutorial example. 2013-01-19 17:20:32 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +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 Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.shlib Remove configure flag --disable-shared, as it is no longer used by any 2012-08-30 16:26:53 -04:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
nls-global.mk NLS: Use msgmerge --previous option 2012-12-13 23:12:12 -05:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00