summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-01-05 00:15:28 +0100
committerlpsolit%gmail.com <>2009-01-05 00:15:28 +0100
commita8cc91bfe25645ff5d83d1732109533688872196 (patch)
tree830e43739ada756f5b43192a2af3ad50a6835271 /Bugzilla/Constants.pm
parent19d1f1c324a35bd44689cde98752275f518082e2 (diff)
downloadbugzilla-a8cc91bfe25645ff5d83d1732109533688872196.tar.gz
bugzilla-a8cc91bfe25645ff5d83d1732109533688872196.tar.xz
Bug 471866: Classification name length and sortkey max value not validated - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index f191f70d4..608e3a9d2 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -149,6 +149,7 @@ use File::Basename;
MAX_SMALLINT
MAX_LEN_QUERY_NAME
+ MAX_CLASSIFICATION_SIZE
MAX_PRODUCT_SIZE
MAX_MILESTONE_SIZE
MAX_COMPONENT_SIZE
@@ -425,6 +426,9 @@ use constant MAX_SMALLINT => 32767;
# The longest that a saved search name can be.
use constant MAX_LEN_QUERY_NAME => 64;
+# The longest classification name allowed.
+use constant MAX_CLASSIFICATION_SIZE => 64;
+
# The longest product name allowed.
use constant MAX_PRODUCT_SIZE => 64;