public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
* gnats/380: gnatsd dumps core when authenticating
@ 2002-04-22  5:00 Lars.Henriksen
  0 siblings, 0 replies; only message in thread
From: Lars.Henriksen @ 2002-04-22  5:00 UTC (permalink / raw)
  To: pdm-gnats, gnats-prs, bug-gnats

>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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-22 12:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-22  5:00 gnats/380: gnatsd dumps core when authenticating Lars.Henriksen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).