Re: [vchkpw] maildirquota.c bug in 5.4.12

2006-02-07 Thread Jon Simola
On 2/5/06, Tom Collins [EMAIL PROTECTED] wrote: There's probably a problem elsewhere in the maildirquota code, where we use an unsigned long instead of a long. Sounds good to me, I'll be back in there today as... When you made the change, did the problem go away? It seems to have made it

Re: [vchkpw] maildirquota.c bug in 5.4.12

2006-02-07 Thread avudz
DH Jon, Wednesday, January 25, 2006, 2:48:41 AM, you wrote: JS Tracked down a bug that was causing our users to exceed their quota JS without any mail in their boxes. --- hi Jon, i'm facing the same problem too here, some of users always exceeded their quota without any email in their mail

Re: [vchkpw] maildirquota.c bug in 5.4.12

2006-02-05 Thread Tom Collins
I think you've misdiagnosed the problem. As written, n is defined as a long when sscanf is called. It probably isn't a grand idea to re-use the variable name, but it is a long. I'm sure this problem would have cropped up earlier if not. There were some changes to maildirquota.c for the