diff --git a/CVS/Entries b/CVS/Entries
index 917395088c7d8ac8ecb13702f1ad55f196a8b6c7..e0ab514e49ac185882baca223222564df2357eb6 100644
--- a/CVS/Entries
+++ b/CVS/Entries
@@ -1,78 +1,78 @@
-/.cvsignore/1.4/Wed Jul 25 07:26:42 2001//TBUGZILLA-2_14_3
-/1x1.gif/1.1/Wed Aug 26 06:14:15 1998/-kb/TBUGZILLA-2_14_3
-/Bug.pm/1.6.6.1/Sat Nov 17 07:41:52 2001//TBUGZILLA-2_14_3
-/CGI.pl/1.100.2.3/Mon Jun  3 23:04:44 2002//TBUGZILLA-2_14_3
-/README/1.50/Sat Aug 11 19:56:40 2001//TBUGZILLA-2_14_3
-/RelationSet.pm/1.5/Fri Jun  1 02:14:23 2001//TBUGZILLA-2_14_3
-/Token.pm/1.3/Fri Aug 17 08:38:54 2001//TBUGZILLA-2_14_3
-/UPGRADING/1.1/Fri Aug 10 22:35:21 2001//TBUGZILLA-2_14_3
-/UPGRADING-pre-2.8/1.1/Fri Aug 10 22:35:22 2001//TBUGZILLA-2_14_3
-/ant.jpg/1.2/Wed Aug 26 22:36:05 1998/-kb/TBUGZILLA-2_14_3
-/booleanchart.html/1.3/Wed Aug 16 23:07:37 2000//TBUGZILLA-2_14_3
-/bug_form.pl/1.70.2.4/Tue May 28 04:01:20 2002//TBUGZILLA-2_14_3
-/bug_status.html/1.11/Mon Aug 28 17:48:56 2000//TBUGZILLA-2_14_3
-/buglist.cgi/1.139.2.4/Sat Jun 29 01:59:21 2002//TBUGZILLA-2_14_3
-/bugwritinghelp.html/1.1/Tue Mar  7 17:59:38 2000//TBUGZILLA-2_14_3
-/bugzilla.dtd/1.2/Fri May 26 06:34:45 2000//TBUGZILLA-2_14_3
-/changepassword.cgi/1.19/Tue Jan 25 07:53:29 2000//TBUGZILLA-2_14_3
-/checksetup.pl/1.99.2.1/Mon May 13 15:05:41 2002//TBUGZILLA-2_14_3
-/colchange.cgi/1.17/Fri Jun  1 02:07:28 2001//TBUGZILLA-2_14_3
-/collectstats.pl/1.20/Wed Jun  6 21:17:40 2001//TBUGZILLA-2_14_3
-/confirmhelp.html/1.2/Mon Aug 28 17:48:58 2000//TBUGZILLA-2_14_3
-/createaccount.cgi/1.11/Wed Jul 11 05:29:18 2001//TBUGZILLA-2_14_3
-/createattachment.cgi/1.13/Tue Apr  3 20:42:58 2001//TBUGZILLA-2_14_3
-/defparams.pl/1.56.2.1/Sat May 25 20:43:49 2002//TBUGZILLA-2_14_3
-/describecomponents.cgi/1.6/Wed Jun  6 04:32:45 2001//TBUGZILLA-2_14_3
-/describekeywords.cgi/1.4/Sat Jan 22 16:51:49 2000//TBUGZILLA-2_14_3
-/doeditparams.cgi/1.15/Mon Aug 13 19:11:33 2001//TBUGZILLA-2_14_3
-/doeditvotes.cgi/1.12.2.1/Mon Nov 26 04:53:28 2001//TBUGZILLA-2_14_3
-/duplicates.cgi/1.13/Tue Aug 21 00:36:54 2001//TBUGZILLA-2_14_3
-/editcomponents.cgi/1.17/Sat Jun 16 14:51:15 2001//TBUGZILLA-2_14_3
-/editgroups.cgi/1.12/Wed Jun  6 03:16:49 2001//TBUGZILLA-2_14_3
-/editkeywords.cgi/1.7/Mon Feb 26 23:25:22 2001//TBUGZILLA-2_14_3
-/editmilestones.cgi/1.5/Sat Jun 16 14:51:16 2001//TBUGZILLA-2_14_3
-/editparams.cgi/1.12/Mon Aug 13 19:11:33 2001//TBUGZILLA-2_14_3
-/editproducts.cgi/1.18/Sat Jun 16 14:51:16 2001//TBUGZILLA-2_14_3
-/editusers.cgi/1.23.2.3/Wed May 29 18:13:34 2002//TBUGZILLA-2_14_3
-/editversions.cgi/1.8/Tue Jun 19 01:37:02 2001//TBUGZILLA-2_14_3
-/enter_bug.cgi/1.50/Sun Jul  1 02:00:56 2001//TBUGZILLA-2_14_3
-/globals.pl/1.110.2.8/Sat Jul 27 23:51:40 2002//TBUGZILLA-2_14_3
-/help.html/1.4/Fri Jan 21 22:01:11 2000//TBUGZILLA-2_14_3
-/helpemailquery.html/1.1/Tue Jan 19 00:07:45 1999//TBUGZILLA-2_14_3
-/how_to_mail.html/1.2/Mon Nov  1 23:33:16 1999//TBUGZILLA-2_14_3
-/importxml.pl/1.18.2.1/Sat May 25 20:43:51 2002//TBUGZILLA-2_14_3
-/index.html/1.12/Wed Feb 28 23:07:24 2001//TBUGZILLA-2_14_3
-/localconfig.js/1.1/Wed Feb 28 23:07:25 2001//TBUGZILLA-2_14_3
-/long_list.cgi/1.15.2.1/Sat Nov 17 08:34:46 2001//TBUGZILLA-2_14_3
-/move.pl/1.6.10.1/Sat May 25 20:43:51 2002//TBUGZILLA-2_14_3
-/new_comment.cgi/1.5/Thu Jul 27 20:10:16 2000//TBUGZILLA-2_14_3
-/notargetmilestone.html/1.2/Mon Aug 28 17:48:59 2000//TBUGZILLA-2_14_3
-/post_bug.cgi/1.34.2.1/Sat Nov 17 08:01:54 2001//TBUGZILLA-2_14_3
-/process_bug.cgi/1.96.2.2/Tue May 28 04:32:38 2002//TBUGZILLA-2_14_3
-/processmail/1.68/Mon Aug 13 17:06:38 2001//TBUGZILLA-2_14_3
-/query.cgi/1.85/Mon Aug 13 19:11:35 2001//TBUGZILLA-2_14_3
-/queryhelp.cgi/1.4.2.1/Sat May 11 10:01:29 2002//TBUGZILLA-2_14_3
-/quicksearch.html/1.1/Wed Feb 28 23:07:26 2001//TBUGZILLA-2_14_3
-/quicksearch.js/1.7/Fri Jul 20 08:25:30 2001//TBUGZILLA-2_14_3
-/quicksearchhack.html/1.2/Wed Feb 28 23:08:52 2001//TBUGZILLA-2_14_3
-/quips.cgi/1.1/Tue May 29 04:01:48 2001//TBUGZILLA-2_14_3
-/relogin.cgi/1.10/Tue Jan 18 14:41:00 2000//TBUGZILLA-2_14_3
-/reports.cgi/1.47/Sun Jul  1 19:09:29 2001//TBUGZILLA-2_14_3
-/robots.txt/1.1/Fri Jul 28 21:28:39 2000//TBUGZILLA-2_14_3
-/runtests.sh/1.4.6.1/Sat Nov 17 07:41:52 2001//TBUGZILLA-2_14_3
-/sanitycheck.cgi/1.33/Wed Jul 11 05:29:20 2001//TBUGZILLA-2_14_3
-/show_activity.cgi/1.6/Fri Jun  1 13:38:01 2001//TBUGZILLA-2_14_3
-/show_bug.cgi/1.15/Sat Jun  2 22:02:02 2001//TBUGZILLA-2_14_3
-/showattachment.cgi/1.7/Wed Jun  6 18:36:25 2001//TBUGZILLA-2_14_3
-/showdependencygraph.cgi/1.10/Thu May 31 15:52:24 2001//TBUGZILLA-2_14_3
-/showdependencytree.cgi/1.8/Thu May 31 15:52:24 2001//TBUGZILLA-2_14_3
-/showvotes.cgi/1.9/Thu May 31 15:52:25 2001//TBUGZILLA-2_14_3
-/syncshadowdb/1.12/Sun Jun 10 17:38:15 2001//TBUGZILLA-2_14_3
-/token.cgi/1.2/Fri Aug 17 12:42:34 2001//TBUGZILLA-2_14_3
-/userprefs.cgi/1.20.2.1/Sat Nov 17 08:24:08 2001//TBUGZILLA-2_14_3
-/votehelp.html/1.5/Thu Jan 25 04:56:14 2001//TBUGZILLA-2_14_3
-/whineatnews.pl/1.4/Mon Nov  1 23:33:22 1999//TBUGZILLA-2_14_3
-/xml.cgi/1.2/Mon Jun 12 06:52:41 2000//TBUGZILLA-2_14_3
+/.cvsignore/1.4/Wed Jul 25 07:26:42 2001//TBUGZILLA-2_14_4
+/1x1.gif/1.1/Wed Aug 26 06:14:15 1998/-kb/TBUGZILLA-2_14_4
+/Bug.pm/1.6.6.1/Sat Nov 17 07:41:52 2001//TBUGZILLA-2_14_4
+/CGI.pl/1.100.2.3/Mon Jun  3 23:04:44 2002//TBUGZILLA-2_14_4
+/README/1.50/Sat Aug 11 19:56:40 2001//TBUGZILLA-2_14_4
+/RelationSet.pm/1.5/Fri Jun  1 02:14:23 2001//TBUGZILLA-2_14_4
+/Token.pm/1.3/Fri Aug 17 08:38:54 2001//TBUGZILLA-2_14_4
+/UPGRADING/1.1/Fri Aug 10 22:35:21 2001//TBUGZILLA-2_14_4
+/UPGRADING-pre-2.8/1.1/Fri Aug 10 22:35:22 2001//TBUGZILLA-2_14_4
+/ant.jpg/1.2/Wed Aug 26 22:36:05 1998/-kb/TBUGZILLA-2_14_4
+/booleanchart.html/1.3/Wed Aug 16 23:07:37 2000//TBUGZILLA-2_14_4
+/bug_form.pl/1.70.2.4/Tue May 28 04:01:20 2002//TBUGZILLA-2_14_4
+/bug_status.html/1.11/Mon Aug 28 17:48:56 2000//TBUGZILLA-2_14_4
+/buglist.cgi/1.139.2.4/Sat Jun 29 01:59:21 2002//TBUGZILLA-2_14_4
+/bugwritinghelp.html/1.1/Tue Mar  7 17:59:38 2000//TBUGZILLA-2_14_4
+/bugzilla.dtd/1.2/Fri May 26 06:34:45 2000//TBUGZILLA-2_14_4
+/changepassword.cgi/1.19/Tue Jan 25 07:53:29 2000//TBUGZILLA-2_14_4
+/checksetup.pl/1.99.2.1/Mon May 13 15:05:41 2002//TBUGZILLA-2_14_4
+/colchange.cgi/1.17/Fri Jun  1 02:07:28 2001//TBUGZILLA-2_14_4
+/collectstats.pl/1.20/Wed Jun  6 21:17:40 2001//TBUGZILLA-2_14_4
+/confirmhelp.html/1.2/Mon Aug 28 17:48:58 2000//TBUGZILLA-2_14_4
+/createaccount.cgi/1.11/Wed Jul 11 05:29:18 2001//TBUGZILLA-2_14_4
+/createattachment.cgi/1.13/Tue Apr  3 20:42:58 2001//TBUGZILLA-2_14_4
+/defparams.pl/1.56.2.1/Sat May 25 20:43:49 2002//TBUGZILLA-2_14_4
+/describecomponents.cgi/1.6/Wed Jun  6 04:32:45 2001//TBUGZILLA-2_14_4
+/describekeywords.cgi/1.4/Sat Jan 22 16:51:49 2000//TBUGZILLA-2_14_4
+/doeditparams.cgi/1.15/Mon Aug 13 19:11:33 2001//TBUGZILLA-2_14_4
+/doeditvotes.cgi/1.12.2.1/Mon Nov 26 04:53:28 2001//TBUGZILLA-2_14_4
+/duplicates.cgi/1.13/Tue Aug 21 00:36:54 2001//TBUGZILLA-2_14_4
+/editcomponents.cgi/1.17/Sat Jun 16 14:51:15 2001//TBUGZILLA-2_14_4
+/editgroups.cgi/1.12/Wed Jun  6 03:16:49 2001//TBUGZILLA-2_14_4
+/editkeywords.cgi/1.7/Mon Feb 26 23:25:22 2001//TBUGZILLA-2_14_4
+/editmilestones.cgi/1.5/Sat Jun 16 14:51:16 2001//TBUGZILLA-2_14_4
+/editparams.cgi/1.12/Mon Aug 13 19:11:33 2001//TBUGZILLA-2_14_4
+/editproducts.cgi/1.18.2.1/Sun Sep 22 17:51:54 2002//TBUGZILLA-2_14_4
+/editusers.cgi/1.23.2.3/Wed May 29 18:13:34 2002//TBUGZILLA-2_14_4
+/editversions.cgi/1.8/Tue Jun 19 01:37:02 2001//TBUGZILLA-2_14_4
+/enter_bug.cgi/1.50/Sun Jul  1 02:00:56 2001//TBUGZILLA-2_14_4
+/globals.pl/1.110.2.9/Sun Sep 29 00:00:20 2002//TBUGZILLA-2_14_4
+/help.html/1.4/Fri Jan 21 22:01:11 2000//TBUGZILLA-2_14_4
+/helpemailquery.html/1.1/Tue Jan 19 00:07:45 1999//TBUGZILLA-2_14_4
+/how_to_mail.html/1.2/Mon Nov  1 23:33:16 1999//TBUGZILLA-2_14_4
+/importxml.pl/1.18.2.1/Sat May 25 20:43:51 2002//TBUGZILLA-2_14_4
+/index.html/1.12/Wed Feb 28 23:07:24 2001//TBUGZILLA-2_14_4
+/localconfig.js/1.1/Wed Feb 28 23:07:25 2001//TBUGZILLA-2_14_4
+/long_list.cgi/1.15.2.1/Sat Nov 17 08:34:46 2001//TBUGZILLA-2_14_4
+/move.pl/1.6.10.1/Sat May 25 20:43:51 2002//TBUGZILLA-2_14_4
+/new_comment.cgi/1.5/Thu Jul 27 20:10:16 2000//TBUGZILLA-2_14_4
+/notargetmilestone.html/1.2/Mon Aug 28 17:48:59 2000//TBUGZILLA-2_14_4
+/post_bug.cgi/1.34.2.1/Sat Nov 17 08:01:54 2001//TBUGZILLA-2_14_4
+/process_bug.cgi/1.96.2.2/Tue May 28 04:32:38 2002//TBUGZILLA-2_14_4
+/processmail/1.68/Mon Aug 13 17:06:38 2001//TBUGZILLA-2_14_4
+/query.cgi/1.85/Mon Aug 13 19:11:35 2001//TBUGZILLA-2_14_4
+/queryhelp.cgi/1.4.2.1/Sat May 11 10:01:29 2002//TBUGZILLA-2_14_4
+/quicksearch.html/1.1/Wed Feb 28 23:07:26 2001//TBUGZILLA-2_14_4
+/quicksearch.js/1.7/Fri Jul 20 08:25:30 2001//TBUGZILLA-2_14_4
+/quicksearchhack.html/1.2/Wed Feb 28 23:08:52 2001//TBUGZILLA-2_14_4
+/quips.cgi/1.1/Tue May 29 04:01:48 2001//TBUGZILLA-2_14_4
+/relogin.cgi/1.10/Tue Jan 18 14:41:00 2000//TBUGZILLA-2_14_4
+/reports.cgi/1.47/Sun Jul  1 19:09:29 2001//TBUGZILLA-2_14_4
+/robots.txt/1.1/Fri Jul 28 21:28:39 2000//TBUGZILLA-2_14_4
+/runtests.sh/1.4.6.1/Sat Nov 17 07:41:52 2001//TBUGZILLA-2_14_4
+/sanitycheck.cgi/1.33/Wed Jul 11 05:29:20 2001//TBUGZILLA-2_14_4
+/show_activity.cgi/1.6/Fri Jun  1 13:38:01 2001//TBUGZILLA-2_14_4
+/show_bug.cgi/1.15/Sat Jun  2 22:02:02 2001//TBUGZILLA-2_14_4
+/showattachment.cgi/1.7/Wed Jun  6 18:36:25 2001//TBUGZILLA-2_14_4
+/showdependencygraph.cgi/1.10/Thu May 31 15:52:24 2001//TBUGZILLA-2_14_4
+/showdependencytree.cgi/1.8/Thu May 31 15:52:24 2001//TBUGZILLA-2_14_4
+/showvotes.cgi/1.9/Thu May 31 15:52:25 2001//TBUGZILLA-2_14_4
+/syncshadowdb/1.12/Sun Jun 10 17:38:15 2001//TBUGZILLA-2_14_4
+/token.cgi/1.2/Fri Aug 17 12:42:34 2001//TBUGZILLA-2_14_4
+/userprefs.cgi/1.20.2.1/Sat Nov 17 08:24:08 2001//TBUGZILLA-2_14_4
+/votehelp.html/1.5/Thu Jan 25 04:56:14 2001//TBUGZILLA-2_14_4
+/whineatnews.pl/1.4/Mon Nov  1 23:33:22 1999//TBUGZILLA-2_14_4
+/xml.cgi/1.2/Mon Jun 12 06:52:41 2000//TBUGZILLA-2_14_4
 D/contrib////
 D/docs////
 D/t////
diff --git a/CVS/Entries.Log b/CVS/Entries.Log
index 469788113d83d1766813f6ee07f353b98b41b4af..ebd0c37f99e50885d0454d116240c830f3e733ea 100644
--- a/CVS/Entries.Log
+++ b/CVS/Entries.Log
@@ -1,3 +1,4 @@
+A D/Bugzilla////
 A D/Conf////
 A D/css////
 A D/oracle////
@@ -6,3 +7,4 @@ R D/template////
 R D/oracle////
 R D/css////
 R D/Conf////
+R D/Bugzilla////
diff --git a/CVS/Tag b/CVS/Tag
index d67c6bdf9b0d47b9e8d5d8886b1dd06f3efbf5a9..c54caadca0a9501bd1e473d5839c2ed4e2ea308b 100644
--- a/CVS/Tag
+++ b/CVS/Tag
@@ -1 +1 @@
-NBUGZILLA-2_14_3
+NBUGZILLA-2_14_4
diff --git a/contrib/CVS/Entries b/contrib/CVS/Entries
index ff338d036d4ba9a188c3f6be09ecfa8dfd377c71..363f1a4984cb0fbacce9846ec6c55ebde79c2c02 100644
--- a/contrib/CVS/Entries
+++ b/contrib/CVS/Entries
@@ -1,12 +1,12 @@
-/BugzillaEmail.pm/1.1/Wed Mar 15 22:29:44 2000//TBUGZILLA-2_14_3
-/README/1.4/Sun Apr 22 18:13:40 2001//TBUGZILLA-2_14_3
-/README.Mailif/1.3/Wed Mar 15 23:39:03 2000//TBUGZILLA-2_14_3
-/bug_email.pl/1.9.10.1/Thu Jul 25 01:47:50 2002//TBUGZILLA-2_14_3
-/bugmail_help.html/1.1/Tue Mar  7 17:36:48 2000//TBUGZILLA-2_14_3
-/bugzilla.procmailrc/1.1/Wed Mar 15 23:39:09 2000//TBUGZILLA-2_14_3
-/bugzilla_email_append.pl/1.2.12.1/Thu Jul 25 01:47:50 2002//TBUGZILLA-2_14_3
-/cvs-update.sh/1.1/Wed Apr 18 18:01:28 2001//TBUGZILLA-2_14_3
-/gnats2bz.pl/1.5/Thu Nov 18 17:29:58 1999//TBUGZILLA-2_14_3
-/mysqld-watcher.pl/1.2/Fri Jun  1 08:34:45 2001//TBUGZILLA-2_14_3
-/yp_nomail.sh/1.1/Tue Sep 12 23:50:31 2000//TBUGZILLA-2_14_3
+/BugzillaEmail.pm/1.1/Wed Mar 15 22:29:44 2000//TBUGZILLA-2_14_4
+/README/1.4/Sun Apr 22 18:13:40 2001//TBUGZILLA-2_14_4
+/README.Mailif/1.3/Wed Mar 15 23:39:03 2000//TBUGZILLA-2_14_4
+/bug_email.pl/1.9.10.2/Sat Aug 17 14:26:32 2002//TBUGZILLA-2_14_4
+/bugmail_help.html/1.1/Tue Mar  7 17:36:48 2000//TBUGZILLA-2_14_4
+/bugzilla.procmailrc/1.1/Wed Mar 15 23:39:09 2000//TBUGZILLA-2_14_4
+/bugzilla_email_append.pl/1.2.12.2/Tue Sep  3 06:39:14 2002//TBUGZILLA-2_14_4
+/cvs-update.sh/1.1/Wed Apr 18 18:01:28 2001//TBUGZILLA-2_14_4
+/gnats2bz.pl/1.5/Thu Nov 18 17:29:58 1999//TBUGZILLA-2_14_4
+/mysqld-watcher.pl/1.2/Fri Jun  1 08:34:45 2001//TBUGZILLA-2_14_4
+/yp_nomail.sh/1.1/Tue Sep 12 23:50:31 2000//TBUGZILLA-2_14_4
 D
diff --git a/contrib/CVS/Tag b/contrib/CVS/Tag
index d67c6bdf9b0d47b9e8d5d8886b1dd06f3efbf5a9..c54caadca0a9501bd1e473d5839c2ed4e2ea308b 100644
--- a/contrib/CVS/Tag
+++ b/contrib/CVS/Tag
@@ -1 +1 @@
-NBUGZILLA-2_14_3
+NBUGZILLA-2_14_4
diff --git a/contrib/bug_email.pl b/contrib/bug_email.pl
index 27b6098d0de77f800dc2ff1b875af480273e47ba..f13091cf8d1bc3b02a5d9421c5bb961c0c1c92aa 100755
--- a/contrib/bug_email.pl
+++ b/contrib/bug_email.pl
@@ -37,7 +37,7 @@
 #
 # You need to work with bug_email.pl the MIME::Parser installed.
 # 
-# $Id: bug_email.pl,v 1.9.10.1 2002/07/25 01:47:50 justdave%syndicomm.com Exp $
+# $Id: bug_email.pl,v 1.9.10.2 2002/08/17 14:26:32 bbaetz%student.usyd.edu.au Exp $
 ###############################################################
 
 # 02/12/2000 (SML)
@@ -1236,13 +1236,7 @@ END
         SendSQL($long_desc_query);
 
         # Cool, the mail was successful
-        # chdir back to the main directory which has the processmail script
-        # Oh, for a processmail module....
-        use Cwd;
-        my $old_cwd = getcwd();
-        chdir("..");
         system("./processmail", $id, $SenderShort);
-        chdir($old_cwd);
     } else {
 	$id = 0xFFFF;  # TEST !
 	print "\n-------------------------------------------------------------------------\n";
diff --git a/contrib/bugzilla_email_append.pl b/contrib/bugzilla_email_append.pl
index 826b49198f2f3f68188a7c02e643ce1bc2f7e561..5fbd00824b0da00293c2395845b73109f9428370 100755
--- a/contrib/bugzilla_email_append.pl
+++ b/contrib/bugzilla_email_append.pl
@@ -117,7 +117,7 @@ my $Body = "Subject: " . $Subject . "\n" . $Comment;
 my $long_desc_query = "INSERT INTO longdescs SET bug_id=$found_id, who=$userid, bug_when=NOW(), thetext=" . SqlQuote($Body) . ";";
 SendSQL($long_desc_query);
 
-system("cd .. ; ./processmail $found_id '$SenderShort'");
+system("./processmail", $found_id, $SenderShort);
 
 sub DealWithError {
   my ($reason) = @_;
diff --git a/docs/CVS/Entries b/docs/CVS/Entries
index 0c2d0a60589ce0843c86f1779c5deff14ead1863..8c8fbf7ad52c3f0038dd6952a0b0d43bfe27b116 100644
--- a/docs/CVS/Entries
+++ b/docs/CVS/Entries
@@ -1,5 +1,5 @@
-/README.docs/1.3/Wed Aug 22 03:44:14 2001//TBUGZILLA-2_14_3
-/rel_notes.txt/1.5.10.7/Sat Jul 27 23:50:45 2002//TBUGZILLA-2_14_3
+/README.docs/1.3/Wed Aug 22 03:44:14 2001//TBUGZILLA-2_14_4
+/rel_notes.txt/1.5.10.8/Sun Sep 29 05:22:52 2002//TBUGZILLA-2_14_4
 D/html////
 D/images////
 D/sgml////
diff --git a/docs/CVS/Tag b/docs/CVS/Tag
index d67c6bdf9b0d47b9e8d5d8886b1dd06f3efbf5a9..c54caadca0a9501bd1e473d5839c2ed4e2ea308b 100644
--- a/docs/CVS/Tag
+++ b/docs/CVS/Tag
@@ -1 +1 @@
-NBUGZILLA-2_14_3
+NBUGZILLA-2_14_4
diff --git a/docs/html/CVS/Entries b/docs/html/CVS/Entries
index e3983ca277e6ca912d1ca54dffb96f508008248e..79c3e9294f7808e13904384d6799c01f8c4ffb85 100644
--- a/docs/html/CVS/Entries
+++ b/docs/html/CVS/Entries
@@ -1,70 +1,70 @@
-/Bugzilla-Guide.html/1.9/Wed Aug 29 18:13:38 2001//TBUGZILLA-2_14_3
-/about.html/1.4/Fri Aug 10 22:26:40 2001//TBUGZILLA-2_14_3
-/aboutthisguide.html/1.6/Wed Aug 29 17:25:25 2001//TBUGZILLA-2_14_3
-/administration.html/1.5/Wed Aug 22 03:44:17 2001//TBUGZILLA-2_14_3
-/bonsai.html/1.5/Wed Aug 22 03:44:17 2001//TBUGZILLA-2_14_3
-/bsdinstall.html/1.1/Fri Aug 10 22:26:42 2001//TBUGZILLA-2_14_3
-/bzhacking.html/1.1/Wed Aug 29 17:25:25 2001//TBUGZILLA-2_14_3
-/cmdline.html/1.5/Wed Aug 22 03:44:18 2001//TBUGZILLA-2_14_3
-/contributors.html/1.5/Wed Aug 29 17:25:25 2001//TBUGZILLA-2_14_3
-/conventions.html/1.5/Wed Aug 22 03:44:18 2001//TBUGZILLA-2_14_3
-/copyright.html/1.6/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_3
-/credits.html/1.5/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_3
-/cvs.html/1.6/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_3
-/database.html/1.4/Fri Aug 10 22:26:44 2001//TBUGZILLA-2_14_3
-/dbdoc.html/1.6/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_3
-/dbschema.html/1.5/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_3
-/disclaimer.html/1.4/Fri Aug 10 22:26:46 2001//TBUGZILLA-2_14_3
-/downloadlinks.html/1.3/Fri Aug 10 22:26:46 2001//TBUGZILLA-2_14_3
-/errata.html/1.1/Fri Aug 10 22:26:47 2001//TBUGZILLA-2_14_3
-/faq.html/1.7/Wed Aug 29 17:25:27 2001//TBUGZILLA-2_14_3
-/feedback.html/1.4/Fri Aug 10 22:26:48 2001//TBUGZILLA-2_14_3
-/future.html/1.6/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_3
-/geninstall.html/1.3/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_3
-/gfdl.html/1.7/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_3
-/gfdl_0.html/1.4/Fri Aug 10 22:26:49 2001//TBUGZILLA-2_14_3
-/gfdl_1.html/1.4/Fri Aug 10 22:26:49 2001//TBUGZILLA-2_14_3
-/gfdl_10.html/1.4/Fri Aug 10 22:26:50 2001//TBUGZILLA-2_14_3
-/gfdl_2.html/1.4/Fri Aug 10 22:26:50 2001//TBUGZILLA-2_14_3
-/gfdl_3.html/1.4/Fri Aug 10 22:26:51 2001//TBUGZILLA-2_14_3
-/gfdl_4.html/1.4/Fri Aug 10 22:26:51 2001//TBUGZILLA-2_14_3
-/gfdl_5.html/1.4/Fri Aug 10 22:26:52 2001//TBUGZILLA-2_14_3
-/gfdl_6.html/1.4/Fri Aug 10 22:26:52 2001//TBUGZILLA-2_14_3
-/gfdl_7.html/1.4/Fri Aug 10 22:26:52 2001//TBUGZILLA-2_14_3
-/gfdl_8.html/1.4/Fri Aug 10 22:26:53 2001//TBUGZILLA-2_14_3
-/gfdl_9.html/1.4/Fri Aug 10 22:26:53 2001//TBUGZILLA-2_14_3
-/gfdl_howto.html/1.7/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_3
-/glossary.html/1.7/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_3
-/granttables.html/1.6/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_3
-/how.html/1.7/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_3
-/index.html/1.7/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_3
-/init4me.html/1.5/Wed Aug 22 03:44:20 2001//TBUGZILLA-2_14_3
-/installation.html/1.7/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_3
-/integration.html/1.5/Wed Aug 22 03:44:20 2001//TBUGZILLA-2_14_3
-/newversions.html/1.5/Wed Aug 22 03:44:20 2001//TBUGZILLA-2_14_3
-/osx.html/1.1/Fri Aug 10 22:26:58 2001//TBUGZILLA-2_14_3
-/patches.html/1.6/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_3
-/postinstall-check.html/1.5/Wed Aug 22 03:44:21 2001//TBUGZILLA-2_14_3
-/programadmin.html/1.7/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_3
-/quicksearch.html/1.6/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_3
-/rewrite.html/1.1/Wed Aug 22 03:44:21 2001//TBUGZILLA-2_14_3
-/rhbugzilla.html/1.5/Wed Aug 22 03:44:22 2001//TBUGZILLA-2_14_3
-/scm.html/1.5/Wed Aug 22 03:44:22 2001//TBUGZILLA-2_14_3
-/security.html/1.6/Fri Aug 10 22:27:01 2001//TBUGZILLA-2_14_3
-/setperl.html/1.7/Wed Aug 29 17:25:30 2001//TBUGZILLA-2_14_3
-/stepbystep.html/1.4/Wed Aug 29 18:13:39 2001//TBUGZILLA-2_14_3
-/tinderbox.html/1.5/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_3
-/translations.html/1.4/Fri Aug 10 22:27:03 2001//TBUGZILLA-2_14_3
-/useradmin.html/1.5/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_3
-/using.html/1.5/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_3
-/usingbz-conc.html/1.5/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_3
-/variant_fenris.html/1.1/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_3
-/variant_issuezilla.html/1.1/Wed Aug 22 03:44:24 2001//TBUGZILLA-2_14_3
-/variant_perforce.html/1.1/Wed Aug 22 03:44:24 2001//TBUGZILLA-2_14_3
-/variant_scarab.html/1.1/Wed Aug 22 03:44:24 2001//TBUGZILLA-2_14_3
-/variant_sourceforge.html/1.2/Wed Aug 29 17:25:30 2001//TBUGZILLA-2_14_3
-/variants.html/1.5/Wed Aug 29 17:25:30 2001//TBUGZILLA-2_14_3
-/whatis.html/1.5/Wed Aug 22 03:44:25 2001//TBUGZILLA-2_14_3
-/why.html/1.5/Wed Aug 22 03:44:26 2001//TBUGZILLA-2_14_3
-/win32.html/1.3/Wed Aug 29 17:25:30 2001//TBUGZILLA-2_14_3
+/Bugzilla-Guide.html/1.9/Wed Aug 29 18:13:38 2001//TBUGZILLA-2_14_4
+/about.html/1.4/Fri Aug 10 22:26:40 2001//TBUGZILLA-2_14_4
+/aboutthisguide.html/1.6/Wed Aug 29 17:25:25 2001//TBUGZILLA-2_14_4
+/administration.html/1.5/Wed Aug 22 03:44:17 2001//TBUGZILLA-2_14_4
+/bonsai.html/1.5/Wed Aug 22 03:44:17 2001//TBUGZILLA-2_14_4
+/bsdinstall.html/1.1/Fri Aug 10 22:26:42 2001//TBUGZILLA-2_14_4
+/bzhacking.html/1.1/Wed Aug 29 17:25:25 2001//TBUGZILLA-2_14_4
+/cmdline.html/1.5/Wed Aug 22 03:44:18 2001//TBUGZILLA-2_14_4
+/contributors.html/1.5/Wed Aug 29 17:25:25 2001//TBUGZILLA-2_14_4
+/conventions.html/1.5/Wed Aug 22 03:44:18 2001//TBUGZILLA-2_14_4
+/copyright.html/1.6/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_4
+/credits.html/1.5/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_4
+/cvs.html/1.6/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_4
+/database.html/1.4/Fri Aug 10 22:26:44 2001//TBUGZILLA-2_14_4
+/dbdoc.html/1.6/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_4
+/dbschema.html/1.5/Wed Aug 29 17:25:26 2001//TBUGZILLA-2_14_4
+/disclaimer.html/1.4/Fri Aug 10 22:26:46 2001//TBUGZILLA-2_14_4
+/downloadlinks.html/1.3/Fri Aug 10 22:26:46 2001//TBUGZILLA-2_14_4
+/errata.html/1.1/Fri Aug 10 22:26:47 2001//TBUGZILLA-2_14_4
+/faq.html/1.7/Wed Aug 29 17:25:27 2001//TBUGZILLA-2_14_4
+/feedback.html/1.4/Fri Aug 10 22:26:48 2001//TBUGZILLA-2_14_4
+/future.html/1.6/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_4
+/geninstall.html/1.3/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_4
+/gfdl.html/1.7/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_4
+/gfdl_0.html/1.4/Fri Aug 10 22:26:49 2001//TBUGZILLA-2_14_4
+/gfdl_1.html/1.4/Fri Aug 10 22:26:49 2001//TBUGZILLA-2_14_4
+/gfdl_10.html/1.4/Fri Aug 10 22:26:50 2001//TBUGZILLA-2_14_4
+/gfdl_2.html/1.4/Fri Aug 10 22:26:50 2001//TBUGZILLA-2_14_4
+/gfdl_3.html/1.4/Fri Aug 10 22:26:51 2001//TBUGZILLA-2_14_4
+/gfdl_4.html/1.4/Fri Aug 10 22:26:51 2001//TBUGZILLA-2_14_4
+/gfdl_5.html/1.4/Fri Aug 10 22:26:52 2001//TBUGZILLA-2_14_4
+/gfdl_6.html/1.4/Fri Aug 10 22:26:52 2001//TBUGZILLA-2_14_4
+/gfdl_7.html/1.4/Fri Aug 10 22:26:52 2001//TBUGZILLA-2_14_4
+/gfdl_8.html/1.4/Fri Aug 10 22:26:53 2001//TBUGZILLA-2_14_4
+/gfdl_9.html/1.4/Fri Aug 10 22:26:53 2001//TBUGZILLA-2_14_4
+/gfdl_howto.html/1.7/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_4
+/glossary.html/1.7/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_4
+/granttables.html/1.6/Wed Aug 29 17:25:28 2001//TBUGZILLA-2_14_4
+/how.html/1.7/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_4
+/index.html/1.7/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_4
+/init4me.html/1.5/Wed Aug 22 03:44:20 2001//TBUGZILLA-2_14_4
+/installation.html/1.7/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_4
+/integration.html/1.5/Wed Aug 22 03:44:20 2001//TBUGZILLA-2_14_4
+/newversions.html/1.5/Wed Aug 22 03:44:20 2001//TBUGZILLA-2_14_4
+/osx.html/1.1/Fri Aug 10 22:26:58 2001//TBUGZILLA-2_14_4
+/patches.html/1.6/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_4
+/postinstall-check.html/1.5/Wed Aug 22 03:44:21 2001//TBUGZILLA-2_14_4
+/programadmin.html/1.7/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_4
+/quicksearch.html/1.6/Wed Aug 29 17:25:29 2001//TBUGZILLA-2_14_4
+/rewrite.html/1.1/Wed Aug 22 03:44:21 2001//TBUGZILLA-2_14_4
+/rhbugzilla.html/1.5/Wed Aug 22 03:44:22 2001//TBUGZILLA-2_14_4
+/scm.html/1.5/Wed Aug 22 03:44:22 2001//TBUGZILLA-2_14_4
+/security.html/1.6/Fri Aug 10 22:27:01 2001//TBUGZILLA-2_14_4
+/setperl.html/1.7/Wed Aug 29 17:25:30 2001//TBUGZILLA-2_14_4
+/stepbystep.html/1.4/Wed Aug 29 18:13:39 2001//TBUGZILLA-2_14_4
+/tinderbox.html/1.5/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_4
+/translations.html/1.4/Fri Aug 10 22:27:03 2001//TBUGZILLA-2_14_4
+/useradmin.html/1.5/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_4
+/using.html/1.5/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_4
+/usingbz-conc.html/1.5/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_4
+/variant_fenris.html/1.1/Wed Aug 22 03:44:23 2001//TBUGZILLA-2_14_4
+/variant_issuezilla.html/1.1/Wed Aug 22 03:44:24 2001//TBUGZILLA-2_14_4
+/variant_perforce.html/1.1/Wed Aug 22 03:44:24 2001//TBUGZILLA-2_14_4
+/variant_scarab.html/1.1/Wed Aug 22 03:44:24 2001//TBUGZILLA-2_14_4
+/variant_sourceforge.html/1.2/Wed Aug 29 17:25:30 2001//TBUGZILLA-2_14_4
+/variants.html/1.5/Wed Aug 29 17:25:30 2001//TBUGZILLA-2_14_4
+/whatis.html/1.5/Wed Aug 22 03:44:25 2001//TBUGZILLA-2_14_4
+/why.html/1.5/Wed Aug 22 03:44:26 2001//TBUGZILLA-2_14_4
+/win32.html/1.3/Wed Aug 29 17:25:30 2001//TBUGZILLA-2_14_4
 D
diff --git a/docs/html/CVS/Tag b/docs/html/CVS/Tag
index d67c6bdf9b0d47b9e8d5d8886b1dd06f3efbf5a9..c54caadca0a9501bd1e473d5839c2ed4e2ea308b 100644
--- a/docs/html/CVS/Tag
+++ b/docs/html/CVS/Tag
@@ -1 +1 @@
-NBUGZILLA-2_14_3
+NBUGZILLA-2_14_4
diff --git a/docs/images/CVS/Entries b/docs/images/CVS/Entries
index 181cf7da152783a8d6146ae618ef949ea49bc682..1f9514170407159f30334dbc831cff5ecf0cf260 100644
--- a/docs/images/CVS/Entries
+++ b/docs/images/CVS/Entries
@@ -1,7 +1,7 @@
-/caution.gif/1.1/Thu Aug 23 14:30:18 2001/-kb/TBUGZILLA-2_14_3
-/dbschema.jpg/1.1/Wed Aug 29 17:25:34 2001/-kb/TBUGZILLA-2_14_3
-/dbschema.ps/1.1/Wed Aug 29 17:25:34 2001/-kb/TBUGZILLA-2_14_3
-/note.gif/1.1/Thu Aug 23 14:30:18 2001/-kb/TBUGZILLA-2_14_3
-/tip.gif/1.1/Thu Aug 23 14:30:19 2001/-kb/TBUGZILLA-2_14_3
-/warning.gif/1.1/Thu Aug 23 14:30:20 2001/-kb/TBUGZILLA-2_14_3
+/caution.gif/1.1/Thu Aug 23 14:30:18 2001/-kb/TBUGZILLA-2_14_4
+/dbschema.jpg/1.1/Wed Aug 29 17:25:34 2001/-kb/TBUGZILLA-2_14_4
+/dbschema.ps/1.1/Wed Aug 29 17:25:34 2001/-kb/TBUGZILLA-2_14_4
+/note.gif/1.1/Thu Aug 23 14:30:18 2001/-kb/TBUGZILLA-2_14_4
+/tip.gif/1.1/Thu Aug 23 14:30:19 2001/-kb/TBUGZILLA-2_14_4
+/warning.gif/1.1/Thu Aug 23 14:30:20 2001/-kb/TBUGZILLA-2_14_4
 D
diff --git a/docs/images/CVS/Tag b/docs/images/CVS/Tag
index d67c6bdf9b0d47b9e8d5d8886b1dd06f3efbf5a9..c54caadca0a9501bd1e473d5839c2ed4e2ea308b 100644
--- a/docs/images/CVS/Tag
+++ b/docs/images/CVS/Tag
@@ -1 +1 @@
-NBUGZILLA-2_14_3
+NBUGZILLA-2_14_4
diff --git a/docs/rel_notes.txt b/docs/rel_notes.txt
index 5ea59dbac1cf5b6be4ebb06b80b56ec5b77f0357..2eb718484ecee3d77c26183e17a65f5c386a0a7e 100644
--- a/docs/rel_notes.txt
+++ b/docs/rel_notes.txt
@@ -1,23 +1,18 @@
-The 2.14.3 release fixes a regression in the ability to sort
-buglists on more than one field, which was caused by the 2.14.2
-security update.  Also fixed in this release is a possible
-misuse of a system() call in contrib/bug_email.pl (which is
-not supported at this time, but we felt it would be useful to
-fix as long as we knew about it).  Please see the upgrade
-procedure below for details on how to upgrade to 2.14.3.
-
-Regarding security issues, please note that the release of 2.16
-(simultaneous with 2.14.3) incorporates various rearchitectures
+The 2.14.4 release fixes some major bugs, including security
+bugs.  Please see the upgrade procedure below for details on how
+to upgrade to 2.14.4.
+
+Regarding security issues, please note that the release of 2.16.1
+(simultaneous with 2.14.4) incorporates various rearchitectures
 that make failure-to-validate and failure-to-filter errors
 harder to insert and easier to spot.  In particular this means
 there may be holes in the 2.14 line that have not been
-discovered, yet are fixed in 2.16.  If such holes exist they
-probably won't be fixed in 2.14 point releases, unless they are
-discovered.
+discovered, yet are fixed in the 2.16 line.  If such holes exist
+they probably won't be fixed in 2.14 point releases, unless they
+are discovered.
 
-There may be future point releases of 2.14, even after the
-release of 2.16, however support for 2.14 will likely be
-dropped at some stage after the 2.16 release.
+There may be future point releases of 2.14, however support for
+2.14 will likely be dropped at some stage soon.
 
 **************************
 *** ABOUT THIS VERSION ***
@@ -61,7 +56,7 @@ see the Bugzilla Guide for more information.
 
 - The 2.16 line will possibly be the last stable release to support
   the shadow database.  The replacement (using MySQL's built in
-  replication) is not present in 2.14.2 or 2.16, but we expect
+  replication) is not present in 2.14.4 or 2.16, but we expect
   that very few sites use this feature, so we are not planning a
   transition period.  If this would cause a
   problem for you, please comment on the below bug.
@@ -83,7 +78,7 @@ fix the problem on your installation.
 
 - Bug counts (on reports.cgi) can be very slow if you have to
   count a lot of bugs.  In this case the connection can time
-  out before thepage finishes loading.  Extending the cgi
+  out before the page finishes loading.  Extending the cgi
   timeout on your web server might help this situation.
   (bug 63249)
 
@@ -129,16 +124,39 @@ fix the problem on your installation.
   option "The bug is resolved or verified" to achieve part of this.
   (bug 130821)
 
+***********************************************
+*** USERS UPGRADING FROM 2.14.3 OR EARLIER  ***
+***********************************************
+
+*** SECURITY ISSUES RESOLVED ***
+
+- When a new product is added to an installation with 47 groups or more and
+  "usebuggroups" is enabled, the new group will be assigned a groupset bit
+  using Perl math that is not exact beyond 2^48.  This results in the new
+  group being defined with a "bit" that has several bits set.  As users are
+  given access to the new group, those users will also gain access to
+  spurious lower group privileges.  Also, group bits were not always reused
+  when groups were deleted.
+  (bug 167485)
+
+- The email interface had another insecure single parameter system call.  This
+  could potentially allow arbitrary shell commands to be run.  This file is
+  not supported at this time, but as long as we knew about the problem, we
+  couldn't overlook it.
+  (bug 163024)
+
+*** Bug fixes of note ***
 
+- The email interface was broken.  This was a 2.14.3 regression.  This file
+  is not supported at this time, but as long as we knew about the problem, we
+  couldn't overlook it.
+  (bug 160631)
 
 ***********************************************
 *** USERS UPGRADING FROM 2.14.2 OR EARLIER  ***
 ***********************************************
 
-- The fix for bug 130821 in 2.14.2 broke being able to sort
-  bug lists on more than one field.  buglist.cgi now allows
-  you to sort on more than one field again.
-  (bug 152138)
+*** SECURITY ISSUES RESOLVED ***
 
 - Basic maintenance on contrib/bug_email.pl and
   contrib/bugzilla_email_append.pl which also fixes a
@@ -147,6 +165,13 @@ fix the problem on your installation.
   as we knew about the problem, we couldn't overlook it.
   (bug 154008)
 
+*** Bug fixes of note ***
+
+- The fix for bug 130821 in 2.14.2 broke being able to sort
+  bug lists on more than one field.  buglist.cgi now allows
+  you to sort on more than one field again.
+  (bug 152138)
+
 ***********************************************
 *** USERS UPGRADING FROM 2.14.1 OR EARLIER  ***
 ***********************************************
diff --git a/docs/sgml/CVS/Entries b/docs/sgml/CVS/Entries
index 1252f8fe7f846022ec4b5192e08e4587ec321d9a..73e6d66529341779923128b9d71ff74ceb7d9a42 100644
--- a/docs/sgml/CVS/Entries
+++ b/docs/sgml/CVS/Entries
@@ -1,18 +1,18 @@
-/Bugzilla-Guide.sgml/1.6/Wed Aug 29 17:25:36 2001//TBUGZILLA-2_14_3
-/about.sgml/1.5/Wed Aug 29 17:25:36 2001//TBUGZILLA-2_14_3
-/administration.sgml/1.7/Wed Aug 29 17:25:36 2001//TBUGZILLA-2_14_3
-/conventions.sgml/1.2/Fri Aug 10 22:13:50 2001//TBUGZILLA-2_14_3
-/database.sgml/1.4/Wed Aug 29 17:25:36 2001//TBUGZILLA-2_14_3
-/dbschema.mysql/1.1/Fri Aug 10 22:13:50 2001//TBUGZILLA-2_14_3
-/faq.sgml/1.6/Wed Aug 29 17:25:38 2001//TBUGZILLA-2_14_3
-/future.sgml/1.5/Wed Aug 29 17:25:38 2001//TBUGZILLA-2_14_3
-/gfdl.sgml/1.2/Fri Aug 10 22:13:52 2001//TBUGZILLA-2_14_3
-/glossary.sgml/1.3/Wed Aug 22 03:44:31 2001//TBUGZILLA-2_14_3
-/index.sgml/1.2/Fri Aug 10 22:13:53 2001//TBUGZILLA-2_14_3
-/installation.sgml/1.7/Wed Aug 29 18:13:41 2001//TBUGZILLA-2_14_3
-/integration.sgml/1.5/Wed Aug 29 17:25:38 2001//TBUGZILLA-2_14_3
-/patches.sgml/1.5/Wed Aug 29 17:25:39 2001//TBUGZILLA-2_14_3
-/requiredsoftware.sgml/1.2/Fri Aug 10 22:13:54 2001//TBUGZILLA-2_14_3
-/using.sgml/1.5/Wed Aug 29 17:25:39 2001//TBUGZILLA-2_14_3
-/variants.sgml/1.4/Wed Aug 22 03:44:32 2001//TBUGZILLA-2_14_3
+/Bugzilla-Guide.sgml/1.6/Wed Aug 29 17:25:36 2001//TBUGZILLA-2_14_4
+/about.sgml/1.5/Wed Aug 29 17:25:36 2001//TBUGZILLA-2_14_4
+/administration.sgml/1.7/Wed Aug 29 17:25:36 2001//TBUGZILLA-2_14_4
+/conventions.sgml/1.2/Fri Aug 10 22:13:50 2001//TBUGZILLA-2_14_4
+/database.sgml/1.4/Wed Aug 29 17:25:36 2001//TBUGZILLA-2_14_4
+/dbschema.mysql/1.1/Fri Aug 10 22:13:50 2001//TBUGZILLA-2_14_4
+/faq.sgml/1.6/Wed Aug 29 17:25:38 2001//TBUGZILLA-2_14_4
+/future.sgml/1.5/Wed Aug 29 17:25:38 2001//TBUGZILLA-2_14_4
+/gfdl.sgml/1.2/Fri Aug 10 22:13:52 2001//TBUGZILLA-2_14_4
+/glossary.sgml/1.3/Wed Aug 22 03:44:31 2001//TBUGZILLA-2_14_4
+/index.sgml/1.2/Fri Aug 10 22:13:53 2001//TBUGZILLA-2_14_4
+/installation.sgml/1.7/Wed Aug 29 18:13:41 2001//TBUGZILLA-2_14_4
+/integration.sgml/1.5/Wed Aug 29 17:25:38 2001//TBUGZILLA-2_14_4
+/patches.sgml/1.5/Wed Aug 29 17:25:39 2001//TBUGZILLA-2_14_4
+/requiredsoftware.sgml/1.2/Fri Aug 10 22:13:54 2001//TBUGZILLA-2_14_4
+/using.sgml/1.5/Wed Aug 29 17:25:39 2001//TBUGZILLA-2_14_4
+/variants.sgml/1.4/Wed Aug 22 03:44:32 2001//TBUGZILLA-2_14_4
 D
diff --git a/docs/sgml/CVS/Tag b/docs/sgml/CVS/Tag
index d67c6bdf9b0d47b9e8d5d8886b1dd06f3efbf5a9..c54caadca0a9501bd1e473d5839c2ed4e2ea308b 100644
--- a/docs/sgml/CVS/Tag
+++ b/docs/sgml/CVS/Tag
@@ -1 +1 @@
-NBUGZILLA-2_14_3
+NBUGZILLA-2_14_4
diff --git a/docs/txt/CVS/Entries b/docs/txt/CVS/Entries
index 87161286bd9416ce1a91078a8360d75f8e2affeb..c8c0eba72403769277ba9035a6a7642a289d2da3 100644
--- a/docs/txt/CVS/Entries
+++ b/docs/txt/CVS/Entries
@@ -1,2 +1,2 @@
-/Bugzilla-Guide.txt/1.8/Wed Aug 29 18:13:42 2001//TBUGZILLA-2_14_3
+/Bugzilla-Guide.txt/1.8/Wed Aug 29 18:13:42 2001//TBUGZILLA-2_14_4
 D
diff --git a/docs/txt/CVS/Tag b/docs/txt/CVS/Tag
index d67c6bdf9b0d47b9e8d5d8886b1dd06f3efbf5a9..c54caadca0a9501bd1e473d5839c2ed4e2ea308b 100644
--- a/docs/txt/CVS/Tag
+++ b/docs/txt/CVS/Tag
@@ -1 +1 @@
-NBUGZILLA-2_14_3
+NBUGZILLA-2_14_4
diff --git a/editproducts.cgi b/editproducts.cgi
index 73fdbf4874709fb95ea355feadb6e6c8f4cc21f0..0b2c933389e9d4e47f0ad4f4f5749eab3916d55c 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -326,6 +326,51 @@ if ($action eq 'new') {
     $votestoconfirm ||= 0;
     my $defaultmilestone = $::FORM{defaultmilestone} || "---";
 
+
+    # find the next bit first in case this operation fails; we don't calculate
+    # this by hand; table stolen from editgroups.cgi; see bug 167485
+    my $bit = "";
+    if(Param("usebuggroups")) {
+        my @bitvals = ('1','2','4','8','16','32','64','128','256','512','1024',
+                       '2048','4096','8192','16384','32768',
+    
+                       '65536','131072','262144','524288','1048576','2097152',
+                       '4194304','8388608','16777216','33554432','67108864',
+                       '134217728','268435456','536870912','1073741824',
+                       '2147483648',
+
+                       '4294967296','8589934592','17179869184','34359738368',
+                       '68719476736','137438953472','274877906944',
+                       '549755813888','1099511627776','2199023255552',
+                       '4398046511104','8796093022208','17592186044416',
+                       '35184372088832','70368744177664','140737488355328',
+
+                       '281474976710656','562949953421312','1125899906842624',
+                       '2251799813685248','4503599627370496','9007199254740992',
+                       '18014398509481984','36028797018963968','72057594037927936',
+                       '144115188075855872','288230376151711744',
+                       '576460752303423488','1152921504606846976',
+                       '2305843009213693952','4611686018427387904');
+    
+        # First the next available bit
+        foreach my $bv (@bitvals) {
+            if ($bit eq "") {
+                SendSQL("SELECT bit FROM groups WHERE bit=" . SqlQuote($bv));
+                if (!FetchOneColumn()) { 
+                    $bit = $bv; 
+                }
+            }
+        }
+        if ($bit eq "") {
+            ShowError("Sorry, you already have the maximum number of groups " .
+                      "defined.<BR><BR>You must delete a group first before you " .
+                      "can add any more.</B>");
+            PutTrailer("<a href=editgroups.cgi>Back to the group list</a>");
+            exit;
+        }
+    }
+        
+
     # Add the new product.
     SendSQL("INSERT INTO products ( " .
             "product, description, milestoneurl, disallownew, votesperuser, " .
@@ -349,16 +394,6 @@ if ($action eq 'new') {
     # If we're using bug groups, then we need to create a group for this
     # product as well.  -JMR, 2/16/00
     if(Param("usebuggroups")) {
-        # First we need to figure out the bit for this group.  We'll simply
-        # use the next highest bit available.  We'll use a minimum bit of 256,
-        # to leave room for a few more Bugzilla operation groups at the bottom.
-        SendSQL("SELECT MAX(bit) FROM groups");
-        my $bit = FetchOneColumn();
-        if($bit < 256) {
-            $bit = 256;
-        } else {
-            $bit = $bit * 2;
-        }
         
         # Next we insert into the groups table
         SendSQL("INSERT INTO groups " .
diff --git a/globals.pl b/globals.pl
index b8b064cc60e9fabe31b8f5f028f1fe3dad756b8a..dbba28440e5d020a7d18c56f7b07555525df7136 100644
--- a/globals.pl
+++ b/globals.pl
@@ -76,7 +76,7 @@ use RelationSet;
 delete $ENV{PATH};
 
 # Contains the version string for the current running Bugzilla.
-$::param{'version'} = '2.14.3';
+$::param{'version'} = '2.14.4';
 
 $::dontchange = "--do_not_change--";
 $::chooseone = "--Choose_one:--";
diff --git a/t/CVS/Entries b/t/CVS/Entries
index 7a732a89d30feb8cb44b2bc1a3d4d9c3c3a894f4..4f17e8fa22e710b0f0bc5c45d9b085c8135be25a 100644
--- a/t/CVS/Entries
+++ b/t/CVS/Entries
@@ -1,3 +1,3 @@
-/001compile.t/1.6.6.1/Sat Nov 17 07:41:55 2001//TBUGZILLA-2_14_3
-/003safesys.t/1.3.6.1/Sat Nov 17 07:41:57 2001//TBUGZILLA-2_14_3
+/001compile.t/1.6.6.1/Sat Nov 17 07:41:55 2001//TBUGZILLA-2_14_4
+/003safesys.t/1.3.6.1/Sat Nov 17 07:41:57 2001//TBUGZILLA-2_14_4
 D/Support////
diff --git a/t/CVS/Tag b/t/CVS/Tag
index d67c6bdf9b0d47b9e8d5d8886b1dd06f3efbf5a9..c54caadca0a9501bd1e473d5839c2ed4e2ea308b 100644
--- a/t/CVS/Tag
+++ b/t/CVS/Tag
@@ -1 +1 @@
-NBUGZILLA-2_14_3
+NBUGZILLA-2_14_4
diff --git a/t/Support/CVS/Entries b/t/Support/CVS/Entries
index ad03b3e0aa329217e41deacaebea273c43ba521c..73cb2fdceaee416a41ce2528a12cf95bcbc352c4 100644
--- a/t/Support/CVS/Entries
+++ b/t/Support/CVS/Entries
@@ -1,3 +1,3 @@
-/Files.pm/1.9.4.1/Sat Nov 17 07:41:59 2001//TBUGZILLA-2_14_3
-/Systemexec.pm/1.2.8.1/Sat Nov 17 07:41:59 2001//TBUGZILLA-2_14_3
+/Files.pm/1.9.4.1/Sat Nov 17 07:41:59 2001//TBUGZILLA-2_14_4
+/Systemexec.pm/1.2.8.1/Sat Nov 17 07:41:59 2001//TBUGZILLA-2_14_4
 D
diff --git a/t/Support/CVS/Tag b/t/Support/CVS/Tag
index d67c6bdf9b0d47b9e8d5d8886b1dd06f3efbf5a9..c54caadca0a9501bd1e473d5839c2ed4e2ea308b 100644
--- a/t/Support/CVS/Tag
+++ b/t/Support/CVS/Tag
@@ -1 +1 @@
-NBUGZILLA-2_14_3
+NBUGZILLA-2_14_4