postgresql/src/backend
Tom Lane 175c3b853a Fix a passel of ancient bugs in to_char(), including two distinct buffer
overruns (neither of which seem likely to be exploitable as security holes,
fortunately, since the provoker can't control the data written).  One of
these is due to choosing to stomp on the output of a called function, which
is bad news in any case; make it treat the called functions' results as
read-only.  Avoid some unnecessary palloc/pfree traffic too; it's not
really helpful to free small temporary objects, and again this is presuming
more than it ought to about the nature of the results of called functions.
Per report from Patrick Welche and additional code-reading by Imad.
2007-06-29 01:52:21 +00:00
..
access Fix dynahash.c to suppress hash bucket splits while a hash_seq_search() scan 2007-04-26 23:25:48 +00:00
bootstrap Remove no-longer-needed inclusion of bootstrap_tokens.h, per patch 2002-11-04 14:22:32 +00:00
catalog Support explicit placement of the temporary-table schema within search_path. 2007-04-20 02:38:59 +00:00
commands CREATE DOMAIN ... DEFAULT NULL failed because gram.y special-cases DEFAULT 2007-06-20 18:16:30 +00:00
executor Repair insufficiently careful type checking for SQL-language functions: 2007-02-02 00:04:16 +00:00
lib pgindent run. 2002-09-04 20:31:48 +00:00
libpq Back-patch 7.4-era fix for memory leak with SSL connections due to 2006-06-23 14:42:52 +00:00
main Arrange to set the LC_XXX environment variables to match our locale setup. 2006-01-05 00:55:36 +00:00
nodes Adjust handling of command status strings in the presence of rules, 2002-10-14 22:14:35 +00:00
optimizer Fix longstanding bug that would sometimes let the planner generate a bad plan 2005-10-25 20:30:52 +00:00
parser transformColumnDefinition failed to complain about 2007-06-20 18:21:51 +00:00
po Translation updates 2004-04-05 09:02:37 +00:00
port Back-patch fix to cause stats processes to detach from shared memory, 2003-11-30 21:56:36 +00:00
postmaster Back-patch fix to cause stats processes to detach from shared memory, 2003-11-30 21:56:36 +00:00
regex Fix char-vs-pg_wchar confusion in p_ere(), per failure report from 2003-04-20 17:37:22 +00:00
rewrite Fix markQueryForLocking() to work correctly in the presence of nested views. 2007-03-01 18:51:03 +00:00
storage Fix aboriginal bug in BufFileDumpBuffer that would cause it to write the 2007-06-01 23:43:39 +00:00
tcop Push enable/disable of notify and catchup interrupts all the way down 2005-06-02 21:04:30 +00:00
utils Fix a passel of ancient bugs in to_char(), including two distinct buffer 2007-06-29 01:52:21 +00:00
Makefile > > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not 2002-10-09 16:21:54 +00:00
nls.mk Translation updates 2002-12-10 20:00:27 +00:00