postgresql/src/backend/utils
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
..
adt Fix a passel of ancient bugs in to_char(), including two distinct buffer 2007-06-29 01:52:21 +00:00
cache Fix ALTER TABLE ADD COLUMN to disallow the same column types that are 2002-12-16 18:39:57 +00:00
error Pass a strdup'd ident string to openlog(), to ensure that reallocation 2005-10-14 16:41:41 +00:00
fmgr Tweak a few of the most heavily used function call points to zero out 2002-10-04 17:19:55 +00:00
hash Fix dynahash.c to suppress hash bucket splits while a hash_seq_search() scan 2007-04-26 23:25:48 +00:00
init Make standalone backends ignore pg_database.datallowconn, so that there 2005-05-05 19:54:01 +00:00
mb Fix pg_wchar_table's maxmblen field of EUC_CN, EUC_TW, MULE_INTERNAL 2007-03-26 11:59:37 +00:00
misc Add a new GUC parameter backslash_quote, which determines whether the SQL 2006-05-21 20:12:20 +00:00
mmgr Oops, back out newNode changes. We are not ready for that yet. 2002-10-11 04:16:44 +00:00
sort Avoid use of inline functions that are not declared static. Needed to 2002-10-31 19:11:48 +00:00
time Back-patch fixes for problems with VACUUM destroying t_ctid chains too soon, 2005-08-26 20:07:17 +00:00
.cvsignore Cleanup to ensure good state of derived files in tarballs. 2000-06-09 02:38:36 +00:00
Gen_fmgrtab.sh Remove unused system table columns: 2002-07-24 19:11:14 +00:00
Makefile Remove all traces of multibyte and locale options. Clean up comments 2002-09-03 21:45:44 +00:00