aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/guc_tables.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-02-12 22:33:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-02-12 22:33:29 +0000
commit7ef174c032117d433e114779e4e33024c6d365cc (patch)
treecf1437027d6150cfa32b63caacad559fb9c03108 /src/include/utils/guc_tables.h
parent86b2da894af2ff266947e6fc5d18d621e0d9119f (diff)
downloadpostgresql-7ef174c032117d433e114779e4e33024c6d365cc.tar.gz
postgresql-7ef174c032117d433e114779e4e33024c6d365cc.zip
Fix bug in SET SESSION AUTHORIZATION that allows unprivileged users to crash
the server, if it has been compiled with Asserts enabled (CVE-2006-0553). Thanks to Akio Ishida for reporting this problem.
Diffstat (limited to 'src/include/utils/guc_tables.h')
-rw-r--r--src/include/utils/guc_tables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/guc_tables.h b/src/include/utils/guc_tables.h
index 6bd7d820958..553d3fc531b 100644
--- a/src/include/utils/guc_tables.h
+++ b/src/include/utils/guc_tables.h
@@ -7,7 +7,7 @@
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
- * $Id: guc_tables.h,v 1.6 2003/08/04 02:40:15 momjian Exp $
+ * $Id: guc_tables.h,v 1.6.4.1 2006/02/12 22:33:29 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -97,6 +97,7 @@ struct config_generic
#define GUC_REPORT 0x0010 /* auto-report changes to client */
#define GUC_NOT_IN_SAMPLE 0x0020 /* not in postgresql.conf.sample */
#define GUC_DISALLOW_IN_FILE 0x0040 /* can't set in postgresql.conf */
+#define GUC_IS_NAME 0x0080 /* limit string to NAMEDATALEN-1 */
/* bit values in status field */
#define GUC_HAVE_TENTATIVE 0x0001 /* tentative value is defined */