Fix is_from() year parsing to abort on year overflow.
Unlike mutt_parse_date(), is_from() was not checking for overflow, and could end up passing a negative year to mutt_mktime(). It should perhaps be changed to use mutt_atoi(), which does better range checking, but that requires mutt_atoi() being changed to allow trailing characters and its callers return value checks being updated. I'll put that on the todo list.
Showing with 1 addition and 1 deletion