Ticket #113 (closed Bugs: fixed)
BODYSTRUCTURE parsing fails to account for additional fields
| Reported by: | octo | Owned by: | octo |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0.x |
| Component: | LogicMail | Version: | 1.0.2 |
| Keywords: | imap | Cc: | |
| Blocked By: | Blocking: |
Description
The current implementation of the IMAP BODYSTRUCTURE parser assumes a hard-coded relation between the number of sections and the length of the sequence. Some servers (i.e. Fastmail) may include additional sections, and this can result in the returned data structure containing null sections. These null sections then cause errors when trying to load them.
The implementation should instead dynamically size the array based on how many sections are actually added.
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in 1.0.3