#449336 Icedove should tolerate erroneous quotas

#449336#5
Date:
2007-11-05 08:20:38 UTC
From:
To:
Hello,

When Icedove tries to access an IMAP folder supporting the QUOTA extension,
an integer overflow can be triggered.

Here's a partial dump of the connection (using tcpflow) with IPs greyed
out. As you can see, the server (apparently courier-imap) reports a
negative quota, which doesn't seem to be prohibited by RFC2087 but is
indeed quite senseless.
0.

The problem is that icedove then reports the quota as 2199018% full :
4294967282 of 195313 KB used, which is 2^32-14 (-14 for an unsigned 32bit
int).

This problem has already happened before but I never tracked down the
problem with tcpflow. I'll test the bug on Thunderbird this evening
assuming I don't receive mails on that address until then, as the quota
would probably be fixed by a change in the inbox.

Regards,
Xr

#449336#10
Date:
2007-11-05 17:27:49 UTC
From:
To:
Reproducible under Thunderbird 2.0.0.6 / Win32 like expected
#449336#15
Date:
2007-12-09 04:00:56 UTC
From:
To:
tag 449336 upstream
severity 449336 minor
thanks

Since it is also found on win32, it must be an upstream bug.  Maybe you could
post it to Mozilla's bugzilla and link it here.  :)

#449336#22
Date:
2007-12-09 04:00:56 UTC
From:
To:
tag 449336 upstream
severity 449336 minor
thanks

Since it is also found on win32, it must be an upstream bug.  Maybe you could
post it to Mozilla's bugzilla and link it here.  :)