[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#30498: marked as done (mserver bug (fwd))



Your message dated Sun, 25 Mar 2001 10:13:18 +0200
with message-id <20010325101318.F4660@om>
and subject line Closed in mserver 0.23a-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Dec 1998 18:07:30 +0000
Received: (qmail 27962 invoked from network); 8 Dec 1998 18:07:28 -0000
Received: from p139.amax13.dialup.lax1.flash.net (HELO dx66.lameter.com) (mail@209.30.76.139)
  by master.debian.org with SMTP; 8 Dec 1998 18:07:28 -0000
Received: from christoph by dx66.lameter.com with local-esmtp (Exim 2.05 #1 (Debian))
	id 0znRXg-0003Qe-00; Tue, 8 Dec 1998 10:07:24 -0800
Date: Tue, 8 Dec 1998 10:07:24 -0800 (PST)
From: Christoph Lameter <christoph@lameter.com>
To: submit@bugs.debian.org
Subject: mserver bug (fwd)
Message-ID: <Pine.LNX.4.03.9812081007100.13162-100000@dx66.lameter.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Package: mserver
Version: N/A

---------- Forwarded message ----------
Date: Tue, 8 Dec 1998 11:37:06 +0100
From: Miro Bobovsky <bobovsky@koruna.pbko.sk>
To: clameter@debian.org
Subject: mserver bug

I no speak English ... ;-( 
Package mserver.
I don't have name-server & if IP client !== /etc/hosts 
  -> error=core dump.
( gethostbyaddr = NULL ... phost->... = core dump.)

patch:
diff -rN  --unified=10 mserver.c.orginal mserver.c
--- mserver.c.orginal	Tue Dec  8 11:15:00 1998
+++ mserver.c	Tue Dec  8 11:15:07 1998
@@ -380,20 +380,25 @@
 	if (busy)
 	{
 		printf ("%s\r\n", DEV_BUSY);
 		exit (1);
 	}
 
 	/* is the peer allowed to connect to this modem? */
 
 	phost = gethostbyaddr((char *) &peer->sin_addr, sizeof(peer->sin_addr), AF_INET);
 	ok = 0;
+        if (!phost)
+        {
+                printf ("%s\r\n", DEV_NOACCESS);
+                exit (1);
+        }
 	s = *mod->clients ? strtok(mod->clients, ",") : mod->clients;
 	do
 	{
 		/* if (isdigit(*s))
 		{
 			iaddr.s_addr = inet_addr(s);
 			for (ss = phost->h_addr_list; !ok && *ss; ss++)
 				if (memcmp(*ss, &iaddr, sizeof(struct in_addr)) == 0)
 					ok = 1;
 		}

---
 Ahoj = Bay ;-).		Bbo
-- 
   Bbo  (http://www.pbko.sk/~bobovsky Email:bobovsky@koruna.pbko.sk)


---------------------------------------
Received: (at 30498-done) by bugs.debian.org; 25 Mar 2001 08:43:31 +0000
>From mvela@public.srce.hr Sun Mar 25 02:43:31 2001
Return-path: <mvela@public.srce.hr>
Received: from jagor.srce.hr [161.53.2.130] (root)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14h67X-0002Hi-00; Sun, 25 Mar 2001 02:43:31 -0600
Received: from om (asy68.jmu.carnet.hr [193.198.128.68])
	by jagor.srce.hr (8.9.0/8.9.0) with ESMTP id KAA12358
	for <30498-done@bugs.debian.org>; Sun, 25 Mar 2001 10:43:28 +0200 (MET DST)
Received: from mvela by om with local (Exim 3.22 #1 (Debian))
	id 14h5eK-0001E9-00
	for <30498-done@bugs.debian.org>; Sun, 25 Mar 2001 10:13:20 +0200
Date: Sun, 25 Mar 2001 10:13:18 +0200
From: Matej Vela <vela@debian.org>
To: 30498-done@bugs.debian.org
Subject: Closed in mserver 0.23a-1
Message-ID: <20010325101318.F4660@om>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
X-Accept-Language: en, hr
Sender: Matej Vela <mvela@om>
Delivered-To: 30498-done@bugs.debian.org

(This report is being closed manually due to Bug#71600.)

Here is the relevant changelog entry:

  mserver (0.23a-1) unstable; urgency=low
  [...]
    * mserver.c, tcpconn.c: Handle unresolved hosts.  (Thanks to Miro
      Bobovsky for the patch.)  Closes: #30498.
  [...]
   -- Matej Vela <vela@debian.org>  Fri, 23 Mar 2001 10:10:18 +0100


Thanks,

Matej



Reply to: