postgresql/src/backend/utils
Tom Lane 5e1365a965 Fix null-dereference crash in parse_xml_decl().
parse_xml_decl's header comment says you can pass NULL for any unwanted
output parameter, but it failed to honor this contract for the "standalone"
flag.  The only currently-affected caller is xml_recv, so the net effect is
that sending a binary XML value containing a standalone parameter in its
xml declaration would crash the backend.  Per bug #6044 from Christopher
Dillard.

In passing, remove useless initializations of parse_xml_decl's output
parameters in xml_parse.

Back-patch to 8.3, where this code was introduced.
2011-05-28 12:36:04 -04:00
..
adt Fix null-dereference crash in parse_xml_decl(). 2011-05-28 12:36:04 -04:00
cache Make a code-cleanup pass over the collations patch. 2011-04-22 17:43:18 -04:00
error pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
fmgr Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 2011-04-12 19:19:24 -04:00
hash Fix the size of predicate lock manager's shared memory hash tables at creation. 2011-04-11 13:43:31 +03:00
init Split PGC_S_DEFAULT into two values, for true boot_val vs computed default. 2011-05-11 19:57:38 -04:00
mb Fix char2wchar/wchar2char to support collations properly. 2011-04-23 12:35:41 -04:00
misc Split PGC_S_DEFAULT into two values, for true boot_val vs computed default. 2011-05-11 19:57:38 -04:00
mmgr Cleanup for pull-up-isReset patch. 2011-05-24 17:57:32 -04:00
resowner pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
sort Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 2011-04-12 19:19:24 -04:00
time Remove special case for xmin == xmax in HeapTupleSatisfiesVacuum(). 2011-04-29 16:29:42 -04:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Per-column collation support 2011-02-08 23:04:18 +02:00
Gen_dummy_probes.sed
Gen_fmgrtab.pl
generate-errcodes.pl Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d