Your message dated Thu, 14 Apr 2005 01:35:36 +0300
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #242407,
regarding vipw race condition
to be marked as having been forwarded to the upstream software
author(s) Tomasz Kłoczko <[EMAIL PROTECTED]>.

(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 242407-forwarded) by bugs.debian.org; 13 Apr 2005 22:34:29 +0000
>From [EMAIL PROTECTED] Wed Apr 13 15:34:28 2005
Return-path: <[EMAIL PROTECTED]>
Received: from cluster2.uol.ua (cluster1.uol.ua) [195.123.61.210] (root)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DLqRI-0005uY-00; Wed, 13 Apr 2005 15:34:28 -0700
Received: from [194.242.119.36] (account [EMAIL PROTECTED] HELO localhost)
  by cluster1.uol.ua ( Ukraine Online SMTP 4.2.8)
  with ESMTP-TLS id 17670762; Thu, 14 Apr 2005 01:49:13 +0300
Date: Thu, 14 Apr 2005 01:35:36 +0300
From: Alexander Gattin <[EMAIL PROTECTED]>
To: Tomasz =?utf-8?Q?K=C5=82oczko?= <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED]
Subject: vipw race condition
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="7JfCtLOvnd9MIVvH"
Content-Disposition: inline
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3


--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

tags confirmed patch
thanks

Hi!

Please, Tomasz, look into this bugreport:
  http://bugs.debian.org/242407
I checked it -- the race is really there.

I think the fix is trivial, the patch against your CVS
version is attached (I have already compiled/checked
it on my system). If I didn't miss something obvious,
evrything is fine with the proposed change.

-- 
WBR,
xrgtn

--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="vipw.diff"

--- vipw.c.orig 2005-04-14 01:20:38.000000000 +0300
+++ vipw.c      2005-04-14 01:20:54.000000000 +0300
@@ -93,10 +93,10 @@
 {
        int err = errno;
 
-       if (filelocked)
-               (*unlock) ();
        if (createedit)
                unlink (fileeditname);
+       if (filelocked)
+               (*unlock) ();
        if (msg)
                fprintf (stderr, "%s: %s", progname, msg);
        if (syserr)

--7JfCtLOvnd9MIVvH--


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

Reply via email to