[Users] [Bug 3766] Windows: crash on NULL dereference if email has invalid date
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Fri Jan 27 21:09:21 CET 2017
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3766
Harald van Dijk <cb at gigawatt.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1717|0 |1
is obsolete| |
--- Comment #3 from Harald van Dijk <cb at gigawatt.nl> ---
Created attachment 1718
-->
http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1718&action=edit
Handle invalid dates
I see that my first attempt was wrong as it potentially leaked tz, and I see
that it could be simplified because g_date_time_unref checks for null pointers
and just returns another null pointer, avoiding problems. g_date_time_add_full
does the same. So here is a second attempt at a patch, making use of that.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list