Your message dated Tue, 08 Mar 2005 08:32:10 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#290693: fixed in mol 0.9.70-16
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Jan 2005 00:19:15 +0000
>From [EMAIL PROTECTED] Sat Jan 15 16:19:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp1.wanadoo.fr [193.252.22.30] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cpy8Q-0000cs-00; Sat, 15 Jan 2005 16:19:14 -0800
Received: from me-wanadoo.net (localhost.fabulous.com [127.0.0.1])
        by mwinf0103.wanadoo.fr (SMTP Server) with ESMTP id EF3511F92690;
        Sun, 16 Jan 2005 01:18:30 +0100 (CET)
Received: from ptitlouis.dyndns.org (AReims-151-1-65-140.w83-192.abo.wanadoo.fr 
[83.192.7.140])
        by mwinf0103.wanadoo.fr (SMTP Server) with ESMTP id 8CE571F92692;
        Sun, 16 Jan 2005 01:18:30 +0100 (CET)
X-ME-UUID: [EMAIL PROTECTED]
Date: Sun, 16 Jan 2005 01:18:29 +0100
From: Julien Louis <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: segfault when using allow: user in /etc/mol/session.map
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="xHFwDpU9dbj6ez1V"
Content-Disposition: inline
X-Debbugs-No-Ack: please
X-Reportbug-Version: 3.5
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-9.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
        HAS_PACKAGE,X_DEBBUGS_NO_ACK autolearn=ham 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

Package: mol
Version: 0.9.70-15
Severity: important
Tags: patch

Hi,

When i'm using mol with allow: user directive in the /etc/mol/session.map file,
mol segfault just after beginning a new session.
This segfault is caused by a null pointer in a strcmp() call.

The attached file fix this segfault.

Cheers.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.9-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages mol depends on:
ii  debconf [debconf-2.0]    1.4.42          Debian configuration management sy
ii  debianutils              2.11.2          Miscellaneous utilities specific t
ii  libasound2               1.0.7-4         ALSA library
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  mol-drivers-linux [mol-d 0.9.70+1-1      The Mac-on-Linux emulator - driver
ii  mol-drivers-macosx [mol- 0.9.70-1        The Mac-on-Linux emulator - driver
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu

-- 

--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: attachment; filename="main.c.diff"

--- mol-0.9.70/src/main/main.c.old      2005-01-16 00:15:21.167533944 +0100
+++ mol-0.9.70/src/main/main.c  2005-01-15 23:55:25.000000000 +0100
@@ -279,7 +279,7 @@
 static void
 authenticate( void )
 {
-       char *s1, *s, *user = getlogin();
+       char *s1, *s, *user = getpwuid(geteuid());
        int i, j, deny_all=0;
        printf("user = %s\n", user);
 

--xHFwDpU9dbj6ez1V--


---------------------------------------
Received: (at 290693-close) by bugs.debian.org; 8 Mar 2005 13:38:14 +0000
>From [EMAIL PROTECTED] Tue Mar 08 05:38:14 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D8euc-0001Kt-00; Tue, 08 Mar 2005 05:38:14 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D8eok-0007EU-00; Tue, 08 Mar 2005 08:32:10 -0500
From: Jens Schmalzing <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#290693: fixed in mol 0.9.70-16
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 08 Mar 2005 08:32:10 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: mol
Source-Version: 0.9.70-16

We believe that the bug you reported is fixed in the latest version of
mol, which is due to be installed in the Debian FTP archive:

mol-modules-source_0.9.70-16_powerpc.deb
  to pool/main/m/mol/mol-modules-source_0.9.70-16_powerpc.deb
mol_0.9.70-16.diff.gz
  to pool/main/m/mol/mol_0.9.70-16.diff.gz
mol_0.9.70-16.dsc
  to pool/main/m/mol/mol_0.9.70-16.dsc
mol_0.9.70-16_powerpc.deb
  to pool/main/m/mol/mol_0.9.70-16_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jens Schmalzing <[EMAIL PROTECTED]> (supplier of updated mol package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  8 Mar 2005 14:12:26 +0100
Source: mol
Binary: mol mol-modules-source
Architecture: source powerpc
Version: 0.9.70-16
Distribution: unstable
Urgency: low
Maintainer: Jens Schmalzing <[EMAIL PROTECTED]>
Changed-By: Jens Schmalzing <[EMAIL PROTECTED]>
Description: 
 mol        - The Mac-on-Linux emulator
 mol-modules-source - The Mac-on-Linux emulator - source for kernel modules
Closes: 290693 298207
Changes: 
 mol (0.9.70-16) unstable; urgency=low
 .
   * Added a Czech debconf translation by Miroslav Kure (closes: Bug#298207).
 .
   * Fixed a segfault when allowing users to run mol (closes: Bug#290693).
     Thanks to Julien Louis for discovering and solving this problem.
Files: 
 3fa7d605e40b36afa64d409970ed6282 736 otherosfs optional mol_0.9.70-16.dsc
 33183398fbb07be20cf263a114af615d 44082 otherosfs optional mol_0.9.70-16.diff.gz
 14b6d86f025f369c1e80268c135fdb93 976224 otherosfs optional 
mol_0.9.70-16_powerpc.deb
 4f1e0a2db117a7cad15ef49978127859 458644 otherosfs optional 
mol-modules-source_0.9.70-16_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCLaYMqYZgyBJFIH4RAkRIAJ9jmk6qZKbc+ANuqdmVGMGwAMDlHACgltED
4yLHPFp/evChBsprhHoFDXg=
=0CqX
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to