Ticket #4385 defect closed fixed
IMAP4 server loops indefinitely if a search query yields more than 4 items
| Reported by: | wulczer | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Keywords: | ||
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
The responsible code seems to be
if i == 4:
from twisted.internet import reactor
reactor.callLater(
0, self.__cbManualSearch, result, tag, mbox, query, uid,
searchResults)
in IMAP4Server.cbManualSearch.
It seems to me that it should be slicing the first four items off the result list before calling itself again.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

