From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26246 invoked from network); 22 Apr 2002 12:00:24 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 22 Apr 2002 12:00:24 -0000 Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zcUU-0002fb-00; Mon, 22 Apr 2002 08:00:18 -0400 Received: from gnats by fencepost.gnu.org with local (Exim 3.34 #1 (Debian)) id 16zcSM-0002Oz-00; Mon, 22 Apr 2002 07:58:06 -0400 From: Lars.Henriksen@netman.dk To: pdm-gnats@zamazal.org,gnats-prs@gnu.org,bug-gnats@gnu.org Reply-To: Lars.Henriksen@netman.dk Subject: gnats/380: gnatsd dumps core when authenticating Message-Id: Sender: gnats-prs-admin@gnu.org Errors-To: gnats-prs-admin@gnu.org X-BeenThere: gnats-prs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Copies of bug tracking system messages List-Archive: Date: Mon, 22 Apr 2002 05:00:00 -0000 X-SW-Source: 2002-q2/txt/msg00010.txt.bz2 >Number: 380 >Category: gnats >Synopsis: gnatsd dumps core when authenticating >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Apr 22 07:58:05 -0400 2002 >Originator: Lars Henriksen >Release: 4.0-beta1 >Organization: >Environment: >Description: With GNATS database unspecified and no (host or user) access gnatsd will crash when started. >How-To-Repeat: Make certain that the local host has no access to the default database and that the GNATSDB environment variable is not set. Invoke gnatsd from the command line: gnatsd -n. >Fix: Index: cmds.c =================================================================== RCS file: /cvsroot/gnats/gnats/gnats/cmds.c,v retrieving revision 1.66 diff -u -r1.66 cmds.c --- cmds.c 23 Dec 2001 20:21:52 -0000 1.66 +++ cmds.c 22 Apr 2002 11:57:04 -0000 @@ -624,10 +624,10 @@ { /* Hmmm. Should we still do this here? ??? XXX !!! */ syslog (LOG_ERR, "host %s (%s) not allowed access for %s", - current_host, current_addr, nameOfDb); + current_host, current_addr, databaseName(new_db)); setError (err, CODE_NO_ACCESS, "You are not permitted to access database %s.\r\n", - nameOfDb); + databaseName(new_db)); freeDatabaseInfo (new_db); } else >Unformatted: _______________________________________________ Gnats-prs mailing list Gnats-prs@gnu.org http://mail.gnu.org/mailman/listinfo/gnats-prs