Tony Finch wrote:
> On Mon, 11 Aug 2008, B. Johannessen wrote:
>> I think that's only on 32bit platforms, isn't it? I've never had
>> problems with quotas > 2^31 on 64bit Debian Linux...
> 
> Well, the error message that grendelkeeper reported came from the function
> appendfile_transport_setup() around line 330 in appendfile.c, which has a
> load checks comparing quota values to 2^31 regardless of the size of
> off_t. This probably needs fixing but I'm unfamiliar with the quota code
> (we don't use it) and my todo list is overflowing.

As far as I can tell from the the code in transports/appendfile.c lines 
329 to 370, the overflow checks for bytecount values (quota, 
quota_warn_threshold and mailbox_size) is only performed when 
sizeof(off_t) <= 4.

I guess you could call this a robustness problem, but in practice I 
don't think anyone will run into problems with quotas > 2^63 in the next 
few years...


        Bob

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to