From a8cc91bfe25645ff5d83d1732109533688872196 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 4 Jan 2009 23:15:28 +0000 Subject: Bug 471866: Classification name length and sortkey max value not validated - Patch by Frédéric Buclin r=wicked a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Constants.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Bugzilla/Constants.pm') 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; -- cgit v1.2.3-24-g4f1b