[Tickets #14931] Invalid date in an email makes imp break entirely

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Jun 25 13:12:50 UTC 2019


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14931
------------------------------------------------------------------------------
  Ticket             | 14931
  Created By         | sami at tokavuh.com
  Summary            | Invalid date in an email makes imp break entirely
  Queue              | IMP
  Version            | FRAMEWORK_5_2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 3. High
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


sami at tokavuh.com (2019-06-25 13:12) wrote:

If you receive an email dated enough in the future, for example in the  
year 2155, imp 6.2.22's Mailbox::Ui::getDate() function returns  
invalid data, which makes the JSON contain an email with Date property  
set to false instead of a date, which makes the whole imp to break  
entirely. No folder list, no email list, nothing. The user cannot fix  
this without deleting the email through some other application.

It can easily be patched by adding a check for what strftime returns  
and if it's false then return _("Unknown Date") instead of what  
strftime says.





More information about the bugs mailing list