Re: Bug in maildirquota.c

FBBE -- INTERNET <[email protected]> Fri, 31 Jan 2014 18:16:54 +0100 (MET)
Newsgroups gmane.mail.vpopmail
Message-ID <[email protected]>
Cher Client,

Nous avons bien reçu votre e-mail et nous vous en remercions. Nos collaborateurs le traiteront aussi rapidement que possible.

Attention : ceci est une réponse automatique. Vous ne pouvez donc pas y répondre.

Veuillez agréer nos salutations distinguées. 

BNP Paribas Fortis SA
T : +32(0)2 762 20 00
Montagne du Parc 3, 1QA5E, 1000 Bruxelles | www.bnpparibasfortis.be

****

Geachte klant,

Wij hebben uw e-mail goed ontvangen, waarvoor dank. Onze medewerkers zullen uw vraag zo snel mogelijk beantwoorden.

Opgelet : dit is een automatisch bericht. Hierop kan u geen antwoord versturen.

Met vriendelijke groeten,

BNP Paribas Fortis NV
T : +32(0)2 762 60 00
Warandeberg 3, 1QA5E, 1000 Brussel | www.bnpparibasfortis.be

****

Dear customer,

We hereby acknowledge receipt of your e-mail. Thank you. Our staff will answer your query as soon as possible.

Careful: This is an automatic message. Please do not reply.

Yours sincerely,

BNP Paribas Fortis SA/NV
T : +32(0)2 261 11 11
Warandeberg 3, 1QA5E, 1000 Brussels | www.bnpparibasfortis.be

****

Sehr geehrte Kundin, sehr geehrter Kunde,

Wir danken Ihnen für Ihre E-Mail. Unsere Mitarbeiter werden Ihnen so schnell wie möglich antworten.

Achtung: dies ist eine automatische Nachricht. Sie können sie folglich nicht beantworten.

Freundliche Grüße

BNP Paribas Fortis SA/NV
T : +32(0)2 261 11 11
Warandeberg 3, 1QA5E, 1000 Brussel | www.bnpparibasfortis.be

----- Original Message -----
From: Matt Brookings <[email protected]>
Sent: Friday, January 31, 2014 11:14:37 AM GMT-06:00
Subject: Re: [vchkpw] Bug in maildirquota.c

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

On 01/31/2014 05:34 AM, Simone Lazzaris wrote:
> The file descriptor number 5 of that process is pointing at the maildirsize file of the mailbox,
> and is marked as "deleted" in /proc/<procid>/fd
> 
> We store the mail in a NetApp NFS share, without locking for performance reasons, and I think
> I've found the problem: the file is deleted by someone else while vdelivermail is reading it.

You can correct this particular issue by making sure you're mounting with at least NFS v3, and that
the time on the two systems is synchronized.  NFS v4 would, of course, be better.

> 
> In maildirquota.c, function maildirsize_read, there is a while loop that reads: while (l) { 
> n=read(f, p, l); if (n < 0) {
> 
> But n is defined as a unsigned int (64 bit) , so even if "read" returns a negative value (error)
> the "if" is never trigged.

I've made note of this.
Thanks for the report!
- -- 
/*
    Matt Brookings <[email protected]>       GnuPG Key 62817373
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQEcBAEBAgAGBQJS69n9AAoJEOjQVexigXNz1JMH/0WvMHTImzOWfHr980YVcmtB
0IFAAKn6PHUP57y2wm+cJ/+uEu9vz9YMOHRpQK/aoBu9kIzQHRF2GGvj0eSnuh7v
1+LqwB1X3j3dDdNiMHtC6rjFkueuDG/fNZ5r8YfHTc+azl5lhiFRZz9nqSuPjShq
ZAU0TYXBU1wd3/0LvRvA9mAltbJs0CWgE1s/ht0r4bZv+b4Fq4Gy2alKN0bijCgu
145bIDhDbrczlp2Vmz8USEZJsTJj2SjxWRcFRha5VYP0zgmFAdrcKNdAESkEWVV3
hcMz15N870OSA21ZAEwd/rppG8rZf5sCRWOuqJRg1WrtTuEZdYqSKt5vAJ3eShE=
=qtFi
-----END PGP SIGNATURE-----
======================================================
BNP Paribas Fortis disclaimer:
http://www.bnpparibasfortis.com/e-mail-disclaimer.html
 
BNP Paribas Fortis privacy policy:
http://www.bnpparibasfortis.com/privacy-policy.html
 
======================================================


!DSPAM:52ebda6c34266182745334!