Ticket #113 (closed Bugs: fixed)

Opened 11 years ago

Last modified 11 years ago

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:


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

comment:1 Changed 11 years ago by octo

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 1.0.3

Note: See TracTickets for help on using tickets.