[email protected]
[Top] [All Lists]

Bug#242407: marked as forwarded (vipw race condition)

Subject: Bug#242407: marked as forwarded vipw race condition
From: Debian Bug Tracking System
Date: Wed, 13 Apr 2005 15:48:35 -0700
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) [] (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 [] (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 
X-CrossAssassin-Score: 3

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

tags confirmed patch


Please, Tomasz, look into this bugreport:
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.


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)


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

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#242407: marked as forwarded (vipw race condition), Debian Bug Tracking System <=