Validate date in _fixup_recurrence_start_dates, #443941 win32 crash.

This invalid date is due to a missing block <fs:once> in the data file.
Why there is such an unwanted and incomplete sx is still unclear.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16214 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2007-06-26 16:56:38 +00:00
parent f84f1855e2
commit f37db3e98f

View File

@ -453,6 +453,7 @@ _fixup_recurrence_start_dates(GDate *sx_start_date, GList *schedule)
g_date_clear(&next, 1);
recurrenceNextInstance(r, &start, &next);
g_return_if_fail(g_date_valid(&next));
{
gchar date_str[128];